Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Explicitly enable -fcommon, rather than untangle common symbols. | 2021-01-28 | 1 | -1/+2 | |
| | | | | ok deraadt@ | ||||
* | Fix a bug that GDB could not show the symbols of the core dump it was | 2020-12-02 | 1 | -1/+35 | |
| | | | | | | generated with the static linked ELF file. ok mpi@ | ||||
* | Add minimal support for OpenBSD/powerpc64. | 2020-09-30 | 7 | -0/+748 | |
| | |||||
* | Teach gdb that the trap frame should be used for alltraps_kern_meltdown(). | 2019-12-23 | 1 | -0/+1 | |
| | | | | ok bluhm kettenis | ||||
* | Fix backtrace across signals on amd64 | 2019-10-21 | 1 | -13/+23 | |
| | | | | okay guenther@ kettenis@ | ||||
* | Fix gdb can handle prologues which has the retguard and teach gdb that | 2019-02-01 | 2 | -9/+40 | |
| | | | | | | | | alltraps_kern() is a trap function. Also initialize the struct amd64_frame_cache in amd64_skip_prologue() which was missing. Original diff from IIJ. ok mpi mortimer kettenis deraadt | ||||
* | Drop the ignored selectors (tf_[defg]s) from the trap and interrupt frames. | 2018-07-10 | 1 | -10/+6 | |
| | | | | ok mlarkin@ deraadt@ mpi@ kettenis@ | ||||
* | Make intrframe the exact same size as trapframe: instead of pushing | 2018-07-03 | 1 | -11/+1 | |
| | | | | | | | | | | the PPL on top, store it where trapframe puts the trap number. This makes interrupt handlers get called with the correct stack alignment. Also, document the use of if_err to differentiate resumed/recursed interrupts from 'real' ones. tested in snaps ok deraadt@ | ||||
* | The trapframe layout is no longer exactly the same as the sigcontext | 2018-04-30 | 1 | -9/+32 | |
| | | | | | | layout. Simplify how we identify which frames have trapframes while here. ok kettenis@ | ||||
* | Revise 'struct fpreg' such that it can actually represent the full VFPv3-D32 | 2018-01-23 | 1 | -8/+8 | |
| | | | | | | state. ok patrick@ | ||||
* | Add improvements to the DWARF frame unwinder to support xorguard. | 2017-08-14 | 3 | -0/+41 | |
| | | | | ok mortimer@ | ||||
* | make warns about POST_INSTALL being empty. | 2017-07-28 | 1 | -0/+2 | |
| | | | | | | | | other similar makefiles define POST_INSTALL = : so even the GNU guys are aware this might be non standard. fix it. okay krw@ kettenis@ | ||||
* | Sync symbol lists for trap/interrupt frame detection with what ddb(4) uses | 2017-04-09 | 2 | -5/+22 | |
| | | | | ok deraadt@ | ||||
* | Make gdb work again on mips64 PIE binaries by making sure that we select | 2015-08-28 | 1 | -1/+7 | |
| | | | | a reasonable 64-bit ABI for 64-bit ELF files instead of a 32-bit ABI. | ||||
* | Make putting a breakpoint on the first instruction of a program work. | 2015-01-12 | 1 | -1/+1 | |
| | | | | | | | | | | Previously a breakpoint at the first instruction would force us to single-step. Depending on the single-step implementation this would make us step over the breakpoint and continue in many cases. Fix this by passing the address of the current instruction pointer which will skip the code that checks if we need to step over a breakpoint. A similar fix has been made upstream many moons ago. Fixes debugging static PIE on sparc64 and probably others that use some sort of software single-stepping. | ||||
* | use ${SHELL} to run scripts in the src tree | 2014-11-20 | 1 | -2/+2 | |
| | |||||
* | Use time_t for storing times | 2014-08-09 | 1 | -1/+1 | |
| | |||||
* | Depending on wether the kernel has been compiled with or without | 2013-10-19 | 1 | -0/+1 | |
| | | | | | | | | debug information, gdb will either see calltrap or alltraps in the stack trace of a kernel core file. To make the gdb backtrace command work without debug information in the amd64 kernel, add the same special case for alltraps as for calltrap. OK miod@ | ||||
* | Register GDB_OSABI_OPENBSD_ELF as well. | 2013-07-13 | 1 | -0/+2 | |
| | |||||
* | VAX ELF toolchain, using `%' as the register prefix. Heavily based upon | 2013-07-05 | 1 | -1/+0 | |
| | | | | NetBSD. | ||||
* | Allow gdb on m88k to fetch symbols from shared libraries when debugging | 2013-05-09 | 4 | -2/+87 | |
| | | | | | dynamically linked binaries. Borrowed from m68k with trivial changes. ok kettenis@ | ||||
* | Use time_t instead of long for archive timestamps, and print them as long long; | 2013-04-19 | 3 | -3/+3 | |
| | | | | prodding deraadt@ | ||||
* | ELF toolchain for m68k, following the SysV/m68k ABI (32-bit types aligned on | 2013-02-02 | 3 | -4/+5 | |
| | | | | | | | | 32-bit boundaries, function return values being in %a0 instead of %d0 if they are declared as pointers, and in fp registers if they are floating point types). Compiler configuration bits (including a few m68k PIC code generation fixes) borrowed from NetBSD. | ||||
* | Enable shared libraries on m88k platforms. | 2013-01-31 | 1 | -1/+2 | |
| | | | | And there was much rejoicing. | ||||
* | Switch m88k ports to ELF. | 2013-01-05 | 1 | -1/+1 | |
| | |||||
* | fix weird depend on -liberty, okay miod@. | 2012-10-02 | 1 | -1/+2 | |
| | | | | | maybe not the simplest fix, but I'd rather it gets fixed now, while we discuss details :) | ||||
* | Add DWARF2 CFI unwinder for hppa. | 2012-08-29 | 1 | -0/+15 | |
| | |||||
* | Adjust for changes to "struct reg". | 2012-08-29 | 3 | -11/+84 | |
| | |||||
* | On i386 gdb failed to display the stack trace of a kernel core dump | 2012-07-12 | 1 | -0/+5 | |
| | | | | | | | | | correctly. The gdb backtrace command did not get over the trap stack frame. There is a pushl %esp in alltraps() that was not accounted for. Depending on wheter the analyzed kernel has debugging symbols or not, the symbol is calltrap or alltraps. Both get special treatment now. ok miod@ kettenis@ | ||||
* | Enable multi-threaded debugging on hppa. | 2012-05-04 | 2 | -13/+27 | |
| | |||||
* | Enable multi-threaded debugging on powerpc. | 2012-04-18 | 1 | -0/+1 | |
| | |||||
* | Enable multi-threaded debugging on sparc64. | 2012-04-17 | 1 | -0/+1 | |
| | |||||
* | Enable multi-threaded debugging on amd64. | 2012-04-13 | 1 | -0/+1 | |
| | |||||
* | Enable multi-threaded debugging on i386. | 2012-04-13 | 1 | -0/+1 | |
| | |||||
* | Add support for live debugging of multi-threaded code. | 2012-04-13 | 2 | -0/+93 | |
| | |||||
* | Minimal threads support for i386. | 2012-04-11 | 3 | -23/+35 | |
| | |||||
* | Minimal threads support for mips64. | 2012-04-09 | 2 | -7/+21 | |
| | |||||
* | Minimal threads debug support for powerpc. | 2012-04-08 | 2 | -13/+24 | |
| | |||||
* | Minimal threads debug support for sparc64. | 2012-04-07 | 3 | -1/+172 | |
| | |||||
* | The wcookie is per-process, not per-thread. | 2012-04-07 | 1 | -5/+1 | |
| | |||||
* | Fix previous commit; the function signatures are different for our in-tree | 2012-04-07 | 2 | -6/+6 | |
| | | | | version of GDB compared to what's currently upstream. | ||||
* | Minimal threads debug support; enough to make attach and detach work. | 2012-04-06 | 5 | -15/+130 | |
| | | | | Only amd64 for now; more architectures will follow. | ||||
* | don't use == when = was intended | 2011-11-20 | 1 | -1/+1 | |
| | | | | ok kettenis@ | ||||
* | Fix backtrace across signals on amd64 | 2011-09-03 | 1 | -1/+1 | |
| | | | | ok kettenis@ | ||||
* | Handle lazy relocation stubs like Linux does, (but with simplified code since | 2011-05-09 | 3 | -2/+107 | |
| | | | | we only care about N64 binaries). | ||||
* | Add support for floating-point registers on OpenBSD/hppa. | 2010-05-02 | 2 | -1/+96 | |
| | |||||
* | add compat support to gdb so that it can deal with libpthread with and | 2009-07-24 | 4 | -16/+36 | |
| | | | | without the _thread_ctx_offset private symbol. okay kettenis@ | ||||
* | remove a semicolon at the end of an if statement, already | 2009-07-12 | 1 | -1/+1 | |
| | | | | | | removed in upstream gdb sources. ok kettenis@ | ||||
* | Handle our new ELF core dumps. | 2009-06-06 | 1 | -1/+31 | |
| | |||||
* | Teach bfd and gdb about the upcoming ELF core dumps. | 2009-03-05 | 2 | -4/+15 | |
| |