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)
Wed, Nov 20, 5:10 PM
Unknown Object (File)
Tue, Nov 12, 7:29 PM
Unknown Object (File)
Tue, Nov 12, 5:59 PM
Unknown Object (File)
Fri, Nov 1, 11:51 AM
Unknown Object (File)
Wed, Oct 30, 1:54 AM
Unknown Object (File)
Fri, Oct 25, 11:00 PM
Unknown Object (File)
Oct 17 2024, 5:06 PM
Unknown Object (File)
Oct 16 2024, 1:39 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