Page MenuHomeFreeBSD

Various fixes for GDB's data directory.
ClosedPublic

Authored by jhb on Dec 7 2018, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 17, 7:56 AM
Unknown Object (File)
Jan 31 2024, 10:11 AM
Unknown Object (File)
Jan 31 2024, 10:11 AM
Unknown Object (File)
Jan 31 2024, 10:11 AM
Unknown Object (File)
Jan 30 2024, 2:41 AM
Unknown Object (File)
Jan 14 2024, 5:03 PM
Unknown Object (File)
Dec 20 2023, 3:51 AM
Unknown Object (File)
Nov 29 2023, 9:36 PM
Subscribers

Details

Summary
  • Backport a fix from master to fix the setting of the default auto-load paths.
  • Switch to using the default data directory (PREFIX/share/gdb) instead of a version specific directory. This allows gdb to use auto-load scripts installed by other packages to PREFIX/share/gdb/auto-load. A couple of existing packages already do this such as libglib and libgobject.
  • Add symlinks for gdb.1 and kgdb.1 manpages without version numbers. This makes 'man gdb' and 'man kgdb' work on 12.0 which doesn't have these manpages in the base system.
  • Precompile the installed python scripts and add then to the packing list. This avoids leaving .pyc files around after the package is deleted if gdb (or kgdb) is run as root.
  • Bump PORTREVISION.
Test Plan
  • poudriere testport
  • 'man gdb' and 'man kgdb' after installing the package on 12.0 now work

Diff Detail

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

Event Timeline

tested and looks good to me

This revision is now accepted and ready to land.Dec 9 2018, 10:44 PM
This revision was automatically updated to reflect the committed changes.