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)
Sat, Jul 12, 1:49 AM
Unknown Object (File)
Fri, Jun 27, 8:52 AM
Unknown Object (File)
Tue, Jun 24, 1:20 PM
Unknown Object (File)
Wed, Jun 18, 7:33 AM
Unknown Object (File)
May 28 2025, 2:41 PM
Unknown Object (File)
May 16 2025, 11:46 AM
Unknown Object (File)
May 12 2025, 8:18 AM
Unknown Object (File)
May 10 2025, 2:00 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 Skipped
Unit
Tests Skipped

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