aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/arch
Commit message (Collapse)AuthorAgeFilesLines
* Retire obsolete GDB 6.1.1Ed Maste2020-12-1526-6315/+0
| | | | | | | | | | | | | | | | | | | | | GDB 6.1.1 was released in June 2004 and is long obsolete. It does not support all of the architectures that FreeBSD does, and imposes limitations on the FreeBSD kernel build, such as the continued use of DWARF2 debugging information. It was kept (in /usr/libexec/) only for use by crashinfo(8), which extracts some basic information from a kernel core dump after a crash. Crashinfo already prefers gdb from port/package if installed. Future work may add kernel debug support to LLDB or find another path for crashinfo's needs, but in any case we do not want to ship the excessively outdated GDB in FreeBSD 13. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27610 Notes: svn path=/head/; revision=368667
* Disable sbrk() use in GNU tools.Brooks Davis2018-09-217-7/+7
| | | | | | | | | | | | | | We're studing the possibility of deprecating sbrk(). To make it easier we're removing unnecessicary uses in the base system. None of these tools require sbrk(), but they agressively prefer it for no good reason. Reviewed by: andrew Approved by: re (kib) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16141 Notes: svn path=/head/; revision=338860
* Remove ia64.Marcel Moolenaar2014-07-073-794/+0
| | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneEd Maste2013-06-078-24/+0
| | | | | | | | | | | | | | | | | | | debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development. Notes: svn path=/head/; revision=251512
* Fix typo. Not a win in terms of functionality but in terms of completeness.Andreas Tobler2012-08-191-1/+1
| | | | Notes: svn path=/head/; revision=239396
* Note two shortcomings of GDB on MIPS that should be addressed.Juli Mallett2012-03-131-0/+3
| | | | Notes: svn path=/head/; revision=232910
* Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn'tOlivier Houchard2011-08-261-1/+1
| | | | | | | | | | used anyway, and it breaks the build, since sys/ptrace.h now includes <machine/reg.h> Approved by: re Notes: svn path=/head/; revision=225190
* Compile fbsd-threads.c. Amongst others this is necessary for a workingMarius Strobl2011-08-062-0/+3
| | | | | | | | | | | kgdb(1). Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224687
* Fix initialization order:_initialize_svr4_solib shouldOleksandr Tymoshenko2010-11-071-2/+2
| | | | | | | be called before _initialize_thread_db Notes: svn path=/head/; revision=214960
* Link threads support to the buildOleksandr Tymoshenko2010-11-072-1/+2
| | | | Notes: svn path=/head/; revision=214951
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-07-103-0/+797
| | | | | | | | | | | a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 Notes: svn path=/head/; revision=209867
* Fix typo in commentWarner Losh2010-03-191-1/+1
| | | | Notes: svn path=/head/; revision=205310
* These contain JC's patch to get gdb sort of workingRandall Stewart2010-02-202-2/+6
| | | | | | | | | | | | | | | on mips. Its not fully done yet but its a start. Obtained from: JC - c.jayachandran@gmail.com M gnu/usr.bin/gdb/kgdb/trgt_mips.c M gnu/usr.bin/gdb/arch/mips/init.c M gnu/usr.bin/gdb/arch/mips/Makefile M gnu/usr.bin/Makefile M contrib/gdb/gdb/mips-tdep.h Notes: svn path=/head/; revision=204138
* Compile fbsd-threads.c. Threading & TLS support is working just fine.Marcel Moolenaar2010-02-162-1/+3
| | | | Notes: svn path=/head/; revision=203960
* Document what the sed trick is for.David E. O'Brien2008-10-162-4/+5
| | | | | | | Remove an embedded <TAB>, and use same style for both files. Notes: svn path=/head/; revision=183957
* Unbreak the arm build, by spelling LIBSRCS correctly.Olivier Houchard2008-08-021-1/+1
| | | | Notes: svn path=/head/; revision=181167
* Do not build fbsd-threads.c if we're building a cross-debugger.Olivier Houchard2008-08-021-1/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=181148
* FreeBSD/mips gdb build suspport. From the mips2-jnpr branch.Warner Losh2008-04-263-0/+794
| | | | Notes: svn path=/head/; revision=178583
* Add thread support for arm.Olivier Houchard2007-11-174-5/+40
| | | | | | | MFC After: 1 week Notes: svn path=/head/; revision=173705
* There's no reason why we couldn't attach to a live process on arm.Olivier Houchard2007-11-171-0/+3
| | | | | | | MFC After: 1 week Notes: svn path=/head/; revision=173700
* Fix static/extern mismatch by patching corresponding tdep filesAlexander Kabaev2007-05-192-2/+11
| | | | | | | in-place. Notes: svn path=/head/; revision=169713
* Add threading support.Marcel Moolenaar2007-05-012-1/+3
| | | | Notes: svn path=/head/; revision=169188
* Architecture specific portions of gdb for arm.Warner Losh2006-09-148-0/+1477
| | | | | | | Submitted by: cognet@ Notes: svn path=/head/; revision=162298
* Add basic support for PowerPC. This excludes kgdb(1).Marcel Moolenaar2006-08-243-0/+795
| | | | Notes: svn path=/head/; revision=161564
* Remove alpha-specific stuff.Ruslan Ermilov2006-08-233-794/+0
| | | | | | | Approved by: marcel Notes: svn path=/head/; revision=161548
* Add support for XMM registers in GDB for x86 processors that supportDoug Rabson2005-05-311-1/+1
| | | | | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks Notes: svn path=/head/; revision=146818
* Source changes to allow building a cross-debugger. Move solib.c andMarcel Moolenaar2004-12-0515-2/+27
| | | | | | | | | | | solib-svr4.c to the MD makefiles because they are native files for alpha and sparc64, but target files for amd64, i386 and ia64. Note that kgdb(1) does not yet build as a cross-debugger due to libkvm. Notes: svn path=/head/; revision=138383
* Makefile (only) changes to allow building a cross debugger.Marcel Moolenaar2004-11-305-12/+23
| | | | Notes: svn path=/head/; revision=138215
* Whitespace fix.Marcel Moolenaar2004-11-091-1/+1
| | | | Notes: svn path=/head/; revision=137441
* Initialize thread_db module.David Xu2004-08-101-0/+2
| | | | Notes: svn path=/head/; revision=133432
* Initialize thread_db module.David Xu2004-08-081-0/+2
| | | | Notes: svn path=/head/; revision=133346
* Update config.h to account for the prgregset_t and psaddr_t typesMarcel Moolenaar2004-07-165-10/+10
| | | | | | | | | that have been added to <sys/procfs.h>. This change has no effect because the source file that would be affected is not compiled on FreeBSD. Hence, this is for completeness only. Notes: svn path=/head/; revision=132238
* Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64Marcel Moolenaar2004-06-2515-0/+3958
and sparc64. Note that the debugger doesn't support threading, nor kernel debugging yet. Notes: svn path=/head/; revision=131087