Disable sbrk() use in GNU tools.We're studing the possibility of deprecating sbrk(). To make it easierwe're removing unnecessicary uses in the base system. None of thesetools require sbrk(), bu
Disable sbrk() use in GNU tools.We're studing the possibility of deprecating sbrk(). To make it easierwe're removing unnecessicary uses in the base system. None of thesetools require sbrk(), but they agressively prefer it for no good reason.Reviewed by: andrewApproved by: re (kib)Sponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D16141
show more ...
Add a new knob WITH_DEBUG_FILES to control the building of standalonedebug files for userland programs and libraries. The "-g" debug flagis automatically applied when WITH_DEBUG_FILES is set.The
Add a new knob WITH_DEBUG_FILES to control the building of standalonedebug files for userland programs and libraries. The "-g" debug flagis automatically applied when WITH_DEBUG_FILES is set.The debug files are now named ${prog}.debug and ${shlib}.debug forconsistency with other systems and documentation. In addition they areinstalled under /usr/lib/debug, to simplify the process of installingthem if needed after a crash. Users of bsd.{prog,lib}.mk outside of thebase system place the standalone debug files in a .debug subdirectory.GDB automatically searches both of these directories for standalonedebug files.Thanks to everyone who contributed changes, review, and testing duringdevelopment.
Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn'tused anyway, and it breaks the build, since sys/ptrace.h now includes<machine/reg.h>Approved by: re
Fix typo in comment
Unbreak the arm build, by spelling LIBSRCS correctly.
Do not build fbsd-threads.c if we're building a cross-debugger.MFC after: 3 days
Add thread support for arm.MFC After: 1 week
There's no reason why we couldn't attach to a live process on arm.MFC After: 1 week
Architecture specific portions of gdb for arm.Submitted by: cognet@