Page MenuHomeFreeBSD

Bring in various kgdb fixes for powerpc.
ClosedPublic

Authored by jhb on Feb 26 2020, 7:02 PM.
Tags
None
Referenced Files
F142772653: D23844.id68849.diff
Fri, Jan 23, 10:17 AM
F142772649: D23844.id.diff
Fri, Jan 23, 10:17 AM
F142772628: D23844.id68865.diff
Fri, Jan 23, 10:16 AM
F142772617: D23844.diff
Fri, Jan 23, 10:16 AM
Unknown Object (File)
Sat, Jan 10, 9:47 PM
Unknown Object (File)
Mon, Dec 29, 1:32 AM
Unknown Object (File)
Dec 14 2025, 11:10 AM
Unknown Object (File)
Nov 26 2025, 5:49 AM
Subscribers

Details

Summary

This merges in several fixes for kgdb on powerpc including fixing
backtraces and cross-debugging support.

Submitted by: luporl

Test Plan
  • poudriere bulk on stable/12 amd64

Diff Detail

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

Event Timeline

I know GDB 9 is released and I have a branch of kgdb based on the 9.x branch but wanted to get these in first before doing a patch to update to 9.1.

The arm change is just a compiler warning fix for an unused variable.

devel/gdb/Makefile
33 ↗(On Diff #68849)

Oops, we don't need this bit (though it doesn't hurt).

devel/gdb/Makefile
33 ↗(On Diff #68849)

actually it hurts. Can you please revert it?

PREFIX is the prefix for the ports. This setting is designed for the base.
Practically, we are moving the debug dir from /usr/lib/debug , where the base's debug symbols are stored to /usr/local/lib/debug that do not exist.

devel/gdb/Makefile
33 ↗(On Diff #68849)

ups, sorry, I'm wrong, you're adding it, not changing it.
Good to me

This revision is now accepted and ready to land.Feb 26 2020, 9:26 PM
This revision was automatically updated to reflect the committed changes.