Page MenuHomeFreeBSD

drop GDB_LIBEXEC option
ClosedPublic

Authored by emaste on Mar 30 2020, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 5:05 PM
Unknown Object (File)
Tue, Jan 21, 1:30 PM
Unknown Object (File)
Dec 6 2024, 6:21 PM
Unknown Object (File)
Nov 21 2024, 6:46 AM
Unknown Object (File)
Sep 21 2024, 3:40 PM
Unknown Object (File)
Sep 16 2024, 3:21 AM
Unknown Object (File)
Sep 13 2024, 7:47 AM
Unknown Object (File)
Sep 9 2024, 2:30 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

gnu/usr.bin/gdb/Makefile.inc
52โ€“56

A bit puzzled by GDB_CROSS_DEBUGGER - is the idea that we build a cross debugger for toolchain/sysroot/etc. and a standard one later?

Also this block moves from OptionalObsoleteFiles.inc to ObsoleteFiles.inc

.if ${MK_GDB} == no || ${MK_GDB_LIBEXEC} == yes
OLD_FILES+=usr/bin/gdb
OLD_FILES+=usr/bin/gdbserver
OLD_FILES+=usr/bin/kgdb
OLD_FILES+=usr/share/man/man1/gdb.1.gz
OLD_FILES+=usr/share/man/man1/gdbserver.1.gz
OLD_FILES+=usr/share/man/man1/kgdb.1.gz
.endif

Agree with moving the bits to ObsoleteFiles.inc.

gnu/usr.bin/gdb/Makefile
9

I think this means you can axe the gdbserver subdirectory as well.

gnu/usr.bin/gdb/Makefile.inc
52โ€“56

No, this is some old gunk whereby you could manually build a cross debugger by 'cd gnu/usr.bin/gdb/; make TARGET_ARCH=foo GDB_CROSS_DEBUGGER=yes' or some such. I've never really used it, and ports gdb is already a cross-debugger for all supported architectures.

This revision is now accepted and ready to land.Mar 30 2020, 7:38 PM