aboutsummaryrefslogtreecommitdiff
path: root/contrib/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Implement functions necessary for compiling fbsd-threads.c.Marius Strobl2011-08-062-0/+61
| | | | | | | | | Reviewed by: marcel Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=224686
* - Check on target wordsize instead of compile time define if we build onAndreas Tobler2011-06-141-61/+319
| | | | | | | | | | | | 64-bit PowerPC or 32-bit PowerPC. - Make gdb work on powerpc64, the code for this is obtained from ppc-linux-tdep.c. - Remove non-elf core read functionality. Implement core read functionality similar like other FreeBSD targets. - Set long double limitations. Notes: svn path=/head/; revision=223082
* Remove stray semicolon. This fix appears in later upstream gdb versions.Ed Maste2011-03-091-1/+1
| | | | | | | Submitted by: eadler Notes: svn path=/head/; revision=219418
* Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-02-1810-72/+101
|\ | | | | | | | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17 Notes: svn path=/head/; revision=218822
| * Sync: merge r215464 through r215708 from ^/head.Dimitry Andric2010-11-221-0/+5
| |\ | |/ |/| | | Notes: svn path=/projects/binutils-2.17/; revision=215710
| * Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-113-9/+14
| |\ | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * \ Sync: merge r214649 through r214894 from ^/head.Dimitry Andric2010-11-062-1/+11
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214895
| * | | Fix gdb compilation with new binutils:Dimitry Andric2010-10-2210-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd_get_section_size_before_reloc() has been renamed to bfd_get_section_size(). Notes: svn path=/projects/binutils-2.17/; revision=214212
* | | | Add the ability for GDB to printout the thread name along with otherAttilio Rao2010-11-221-0/+5
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thread specific informations. In order to do that, and in order to avoid KBI breakage with existing infrastructure the following semantic is implemented: - For live programs, a new member to the PT_LWPINFO is added (pl_tdname) - For cores, a new ELF note is added (NT_THRMISC) that can be used for storing thread specific, miscellaneous, informations. Right now it is just popluated with a thread name. GDB, then, retrieves the correct informations from the corefile via the BFD interface, as it groks the ELF notes and create appropriate pseudo-sections. Sponsored by: Sandvine Incorporated Tested by: gianni Discussed with: dim, kan, kib MFC after: 2 weeks Notes: svn path=/head/; revision=215679
* | | Change register numbers according to current struct reg andOleksandr Tymoshenko2010-11-072-3/+3
| | | | | | | | | | | | | | | | | | | | | struct fpreg in src/sys/mips/include/reg.h Notes: svn path=/head/; revision=214949
* | | Calculate offset from frame top for registers saved on a stack frame.Oleksandr Tymoshenko2010-11-071-6/+11
| |/ |/| | | | | Notes: svn path=/head/; revision=214947
* | - Add ELF core for FreeBSD/mipsOleksandr Tymoshenko2010-11-021-0/+10
| | | | | | | | | | | | | | - Register all known cores in init function Notes: svn path=/head/; revision=214652
* | Fix reading of .debug_line on MIPS64, big-endian:Oleksandr Tymoshenko2010-11-021-1/+1
|/ | | | | | | | | | | read_initial_length detects pointer size by checking first 4 bytes of .debug_line and stores it in struct comp_unit_head * passed to it as second argument. By passing NULL to a read_initial_length we ignore actual pointer size (8 bytes) and use default (4 bytes) which results in wrong offsets of header fields. Notes: svn path=/head/; revision=214651
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-07-102-7/+13
| | | | | | | | | | | 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
* Adds the missing mips gdb files that IRandall Stewart2010-02-215-0/+818
| | | | | | | | | | foobar'd on my last commit.. Sorry about that JC.. my fault. Obtained from: JC Notes: svn path=/head/; revision=204174
* These contain JC's patch to get gdb sort of workingRandall Stewart2010-02-201-0/+11
| | | | | | | | | | | | | | | 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
* gdb: make 'thread apply all bt' always work on all threadsAndriy Gapon2009-06-121-2/+26
| | | | | | | | | | | | | even if some appear to have (partially) corrupted stack traces. E.g. kernel crashdumps typically have stack weirdness at userland-kernel boundary. Obtained from: vendor/upstream (CVS rev 1.118 of stack.c) Reviewed by: emaste Approved by: jhb Notes: svn path=/head/; revision=194061
* - Use gdb-* glob instead of gdb-6.1.1, to simplify future imports.Ed Maste2009-04-071-54/+65
| | | | | | | | - Add a few entries for additional files from later gdb releases that should also be ignored. Notes: svn path=/head/; revision=190827
* gdb: Remove arm_pc_is_thumb_dummy() and related code.Rafal Jaworowski2008-11-171-36/+1
| | | | | | | | | This is basically an import of the following gdb change: http://sourceware.org/ml/gdb-cvs/2005-03/msg00143.html (which in effect fixes problems with gracefully closing down the non-Thumb program being debugged). Notes: svn path=/head/; revision=185024
* This commit was generated by cvs2svn to compensate for changes in r173619,David E. O'Brien2007-11-141-1/+1
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=173620
| * Bring in FSF revision 1.9 (Change type of ps_strings from int to u_long).David E. O'Brien2007-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes a situation where GDB gives incorrect backtraces when a signal handler is in the call chain. Submitted by: Stu Grossman <grossman@juniper.net> Notes: svn path=/vendor/gdb/dist/; revision=173619
* | This commit was generated by cvs2svn to compensate for changes in r169185,Marcel Moolenaar2007-05-011-0/+12
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=169186
| * Define supply_gregset() and supply_fpregset(). They are neededMarcel Moolenaar2007-05-011-0/+12
| | | | | | | | | | | | | | by our threading support. Notes: svn path=/vendor/gdb/dist/; revision=169185
* | This commit was generated by cvs2svn to compensate for changes in r161561,Marcel Moolenaar2006-08-246-0/+505
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=161562
| * Add support for PowerPC. These files are added onto the FSF branchMarcel Moolenaar2006-08-246-0/+505
| | | | | | | | | | | | | | to avoid future conflicts. Notes: svn path=/vendor/gdb/dist/; revision=161561
* | Update for PowerPC support. We need to keep rs6000 related files.Marcel Moolenaar2006-08-231-2/+0
| | | | | | | | Notes: svn path=/head/; revision=161539
* | This commit was generated by cvs2svn to compensate for changes in r161537,Marcel Moolenaar2006-08-2311-0/+4554
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=161538
| * Import files needed for PowerPC support and not included in theMarcel Moolenaar2006-08-2311-0/+4554
| | | | | | | | | | | | | | original GDB 6.1.1 import. Notes: svn path=/vendor/gdb/dist/; revision=161537
* | Abstract the handling of dirty stacked registers in ia64_read_reg() andMarcel Moolenaar2004-09-051-90/+75
| | | | | | | | | | | | | | | | | | | | ia64_write_reg() and call these whenever we read or write registers from and to memory. This way we correctly read registers from addresses in the register cache and thus fixes backtraces when the saved registers (such as rp and ar.pfs) are in dirty stacked registers. Notes: svn path=/head/; revision=134800
* | Disable surplus detection of breakpoint event in signal stack, the checkDavid Xu2004-08-151-0/+4
| | | | | | | | | | | | | | | | | | | | causes a normal breakpoint event in new thread to be ignored unexpectly, result is process SIGSEGV. Test on: AMD64, i386 Notes: svn path=/head/; revision=133748
* | Various improvements for ia64:Marcel Moolenaar2004-07-276-47/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o s/TARGET_XFER_DIRTY/NATIVE_XFER_DIRTY/g to be conformant, o Handle TARGET_OBJECT_DIRTY for core files. Required on Linux, o Replace ia64_fbsd_supply_fpregs() and ia64_fbsd_supply_gregs() with supply_fpregset() and supply_gregset() resp. Needed to support libthread_db. o For target_read_partial(), pass the address of bspstore as the annex instead of bspstore itself. This fixes crossbuilds. The annex is a pointer, while bspstore is a ULONGEST. o In ia64_frame_prev_register(), handle dirty stacked registers. Notes: svn path=/head/; revision=132685
* | This file was not used to import gdb. Remove.Marcel Moolenaar2004-07-191-71/+0
| | | | | | | | Notes: svn path=/head/; revision=132373
* | Remove fbsd-thread.o, it's not for consumption yet.Marcel Moolenaar2004-06-251-1/+1
| | | | | | | | Notes: svn path=/head/; revision=131116
* | Update HEAD with support for ia64.Marcel Moolenaar2004-06-252-1/+46
| | | | | | | | Notes: svn path=/head/; revision=131086
* | This commit was generated by cvs2svn to compensate for changes in r131082,Marcel Moolenaar2004-06-2510-69/+1522
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=131083
| * Add support for ia64. This code will be contributed to GDB as soonMarcel Moolenaar2004-06-2512-70/+1568
| | | | | | | | | | | | | | | | | | as the legal prerequisites are met. To avoid future merge conflicts, this is added to the vendor branch. The changes are seperately kept in FREEBSD-diffs for easy reference. Notes: svn path=/vendor/gdb/dist/; revision=131082
| * Remove files from the vendor branch that are not part of the GDB 6.1.1Marcel Moolenaar2004-06-20253-154476/+0
| | | | | | | | | | | | | | import. Notes: svn path=/vendor/gdb/dist/; revision=130805
* | Update the upgrade instructions.Marcel Moolenaar2004-06-251-15/+6
| | | | | | | | Notes: svn path=/head/; revision=131081
* | Remove from HEAD, that what is not on the vendor branch anymore.Marcel Moolenaar2004-06-201-291/+0
| | | | | | | | Notes: svn path=/head/; revision=130813
* | Revive files which were pulled from the vendor branch only to beMarcel Moolenaar2004-06-2073-0/+46808
| | | | | | | | | | | | | | | | | | removed on HEAD, but which are part of the GDB 6.1.1 import. This makes HEAD identical to the vendor branch, for better or for worse. Notes: svn path=/head/; revision=130812
* | Update to GDB 6.1.1. These files are identical to the vendor branch.Marcel Moolenaar2004-06-2029-10453/+17851
| | | | | | | | Notes: svn path=/head/; revision=130809
* | Update to match the GDB 6.1.1 import.Marcel Moolenaar2004-06-201-119/+67
| | | | | | | | Notes: svn path=/head/; revision=130807
* | This commit was generated by cvs2svn to compensate for changes in r130805,Marcel Moolenaar2004-06-20252-154185/+0
| | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=130806
* | This commit was generated by cvs2svn to compensate for changes in r130803,Marcel Moolenaar2004-06-20623-33904/+200826
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=130804
| * Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6).Marcel Moolenaar2004-06-20725-44357/+265485
| | | | | | | | Notes: svn path=/vendor/gdb/dist/; revision=130803
| * This file was not part of the GDB 5.2.1 import and should have beenMarcel Moolenaar2004-06-2020-9238/+0
| | | | | | | | | | | | | | deleted from the vendor branch. Notes: svn path=/vendor/gdb/dist/; revision=130760
| * This file was not part of the GDB 5.2.1 import and should have beenMarcel Moolenaar2004-06-20362-166798/+0
| | | | | | | | | | | | | | deleted from the vendor branch. Notes: svn path=/vendor/gdb/dist/; revision=130758
| * This file was not part of the GDB 5.2.1 import and should have beenMarcel Moolenaar2004-06-19239-156804/+0
| | | | | | | | | | | | | | deleted from the vendor branch. Notes: svn path=/vendor/gdb/dist/; revision=130732
| * This file has been removed from HEAD when it should (also) have beenMarcel Moolenaar2004-06-1930-32873/+0
| | | | | | | | | | | | | | removed from the vendor branch. Notes: svn path=/vendor/gdb/dist/; revision=130708
* | This file is not part of GDB 5.2.1, but was off the vendor branch.Marcel Moolenaar2004-06-1824-44078/+0
| | | | | | | | Notes: svn path=/head/; revision=130673