Page MenuHomeFreeBSD

devel/gdb: kgdb: fixup aarch64 pcb/trapframe layout
ClosedPublic

Authored by kevans on Sep 1 2023, 5:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 23, 6:35 AM
Unknown Object (File)
Wed, Aug 19, 2:26 AM
Unknown Object (File)
Wed, Aug 5, 2:47 PM
Unknown Object (File)
Wed, Aug 5, 8:49 AM
Unknown Object (File)
Tue, Aug 4, 11:03 PM
Unknown Object (File)
Tue, Aug 4, 3:41 AM
Unknown Object (File)
Mon, Aug 3, 2:42 PM
Unknown Object (File)
Thu, Jul 30, 8:10 AM
Subscribers

Details

Summary

base 1c1f31a5e5 and 2ecbbcc7cab altered the pcb and trapframe layouts in osreldate 1400084. This version of the patch is effectively extracted from work done by @jhb in CheriBSD's gdb fork, then ported forward to work with the gdb 13.x program_space_data equivalent. With this + D39951, I can again get a solid backtrace in recent main.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevans requested review of this revision.Sep 1 2023, 5:17 AM
kevans created this revision.

For ${REASONS} unless you want to fill out FSF paperwork I need to make sure I reproduce this over in my kgdb branch (I'm close to being able to upstream most of kgdb as I'm just waiting on FSF paperwork for a couple of folks now.

In D41684#950083, @jhb wrote:

For ${REASONS} unless you want to fill out FSF paperwork I need to make sure I reproduce this over in my kgdb branch (I'm close to being able to upstream most of kgdb as I'm just waiting on FSF paperwork for a couple of folks now.

I'm more than happy to fill out some paperwork if it'll save you time and energy here (especially since this version is easily proven as a derivative of work you already did once).

This is ok. I ended up with a few different tweaks in my kgdb-13 branch which will hopefully end up upstream eventually, but will definitely end up in the update to GDB 14.

This revision is now accepted and ready to land.Sep 1 2023, 11:24 PM