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.
Document what the sed trick is for.Remove an embedded <TAB>, and use same style for both files.
Fix static/extern mismatch by patching corresponding tdep filesin-place.
Source changes to allow building a cross-debugger. Move solib.c andsolib-svr4.c to the MD makefiles because they are native files foralpha and sparc64, but target files for amd64, i386 and ia64.N
Source changes to allow building a cross-debugger. Move solib.c andsolib-svr4.c to the MD makefiles because they are native files foralpha and sparc64, but target files for amd64, i386 and ia64.Note that kgdb(1) does not yet build as a cross-debugger due tolibkvm.
Makefile (only) changes to allow building a cross debugger.
Initialize thread_db module.
Update config.h to account for the prgregset_t and psaddr_t typesthat have been added to <sys/procfs.h>. This change has no effectbecause the source file that would be affected is not compiled onF
Update config.h to account for the prgregset_t and psaddr_t typesthat have been added to <sys/procfs.h>. This change has no effectbecause the source file that would be affected is not compiled onFreeBSD. Hence, this is for completeness only.
Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64and sparc64.Note that the debugger doesn't support threading, nor kerneldebugging yet.