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)
Fri, Apr 26, 1:37 AM
Unknown Object (File)
Dec 20 2023, 4:01 AM
Unknown Object (File)
Dec 11 2023, 6:57 AM
Unknown Object (File)
Oct 1 2023, 8:35 PM
Unknown Object (File)
Oct 1 2023, 8:35 PM
Unknown Object (File)
Oct 1 2023, 8:35 PM
Unknown Object (File)
Oct 1 2023, 8:35 PM
Unknown Object (File)
Sep 29 2023, 9:09 PM
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