Page MenuHomeFreeBSD

devel/gdb: Update to 12.1.
ClosedPublic

Authored by jhb on May 2 2022, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Sun, Nov 3, 4:47 PM
Unknown Object (File)
Thu, Oct 31, 11:29 AM
Unknown Object (File)
Fri, Oct 25, 10:29 PM
Unknown Object (File)
Oct 4 2024, 1:44 AM
Subscribers

Details

Summary

One notable feature included in 12.1 is async target support
permitting the use of commands like continue&. In addition, this
commit backports various post-12 commits to add support for hardware
breakpoints/watchpoints on aarch64 as well as support for resolving
TLS variables from core dumps on amd64 and i386 via the recently added
NT_X86_SEGBASES core dump note.

Diff Detail

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

Event Timeline

jhb requested review of this revision.May 2 2022, 8:22 PM
devel/gdb/Makefile
126

Clang on HEAD at least doesn't include this option so having this here was spamming the build log with lots of complaints about the option being unknown.

devel/gdb/files/patch-gdb_amd64-bsd-nat.c
1

This patch is a lot harder to do now as I have refactored the register fetching upstream to permit seeing all of the segment registers on x86. I'm also not sure this fixes a real issue that can happen in normal practice. GDB shouldn't be trying to alter rflags unless a user has explicitly tried to set $rflags and we'd rather report an error to the user in that case than silently ignore the change to $rflags.

  • Added arm/arm64 TLS patches merged to gdb master today.
This revision is now accepted and ready to land.May 10 2022, 11:38 AM
This revision was automatically updated to reflect the committed changes.