29 Commits

Author SHA1 Message Date
kurt
b9e1d14460 Fix backtrace across signals on amd64
The 'Apply the retpoline transformation to indirect jumps in the
raw ASM' commit in 6.4 added an instruction to the sigcode.
This fixes the offset to look for sigreturn and mantains
backward compat.

maintainer timeout
2020-06-01 21:44:49 +00:00
kn
70c62c886c Use Python 3
Builds and runs fine with it, although I did not exhaust all possible ways
of testing GDBs built-in Python usage.

Support "to increase the chance of it getting tested" from sthen
2019-10-31 22:19:48 +00:00
kurt
5ad62a9825 Improve devel/gdb aarch64 support:
* Enable debugging on running threaded programs
* Provide sigtramp routine unwinding (support modeled after ppc)
okay pascal@ kettenis@
2019-10-17 17:10:26 +00:00
kettenis
deb02e43c1 Add OpenBSD/arm64 support. Not fully functional yet, but good enough to be
helpful analyzing coredumps and inspecting running processes.  From a diff
provided by drahn@.

ok jca@, phessler@
2018-07-10 11:03:46 +00:00
kettenis
57eaf43384 Make reading core dumps on armv7 work again.
ok patrick@
2018-06-18 14:53:12 +00:00
jca
5dd7aaf2a9 Adapt to the recent changes in <arm/reg.h>
Based on Mark's diff for base gdb.  ok kettenis@ pascal@ (maintainer)
2018-01-24 00:19:56 +00:00
visa
4e967c5b44 Fix build on mips64. Part of the source is now built using c++ which
rejects implicit casts from type void *.

ok pascal@
2016-10-21 13:13:31 +00:00
pascal
285b756bd9 Update to GDB 7.12. 2016-10-09 11:39:20 +00:00
jca
1359409257 Fix register handling of multithreaded programs on !(x86) platforms.
Initially implemented by jhb@freebsd for i386 and amd64: replace ptid_get_pid
by get_ptrace_pid when fetching / setting registers.  The latter does the
right thing with multiple threads.

Issue reported by guenther@ plus a few users.  ok pascal@ (maintainer)
2016-09-03 13:48:39 +00:00
pascal
50de65c8c4 Update to GDB 7.11. 2016-03-04 19:25:27 +00:00
pascal
c609785292 Update to GDB 7.10. 2015-09-09 19:47:17 +00:00
pascal
20cf4d16c2 Update to gdb 7.9. 2015-03-15 02:58:07 +00:00
pascal
3713a0c3b9 Update to 7.8.1. 2014-11-13 21:33:02 +00:00
chrisz
d2912d1785 remove filename_cmp and filename_ncmp, which are replaced by macros.
ok pascal@
2014-10-18 10:07:52 +00:00
chrisz
22601d0549 Our libiberty does not have filename_cmp(), but since it would simply
call strcmp(), use a macro when building gdb and most of all libbfd.

Fixes linking against libbfd with our system libiberty.


reviewed and ok pascal@
2014-08-16 11:14:04 +00:00
pascal
6091383dc8 Update to GDB 7.8. 2014-08-14 07:50:24 +00:00
pascal
3d1d091504 Update to gdb 7.7. 2014-03-09 19:49:21 +00:00
pascal
dfa7352337 Update to GDB 7.6. 2013-05-04 21:27:11 +00:00
pascal
551d2539ac Update to gdb 7.5. 2012-08-25 19:15:44 +00:00
pascal
15523cf362 Fix build on powerpc.
reported by and ok aja@
2012-03-19 13:09:22 +00:00
pascal
9dd6223fbc Update to 7.4, take maintainer and teach gdb about threaded coredumps.
ok sthen@
2012-03-03 19:22:42 +00:00
pascal
c8935d2093 Allow gdb to read core files on amd64. Patch originally from kettenis@
(from base gdb).

ok sthen@
2011-12-22 20:27:31 +00:00
espie
40250aae9b python/expat support
okay robert@, jasper@
2011-11-13 14:56:57 +00:00
jasper
2d897413fc this doesn't need to install libiberty
- resolves conflict with gcc-* (who probably shouldn't install it either)
2011-11-11 23:01:23 +00:00
jasper
1a6582078c i doubt anyone cares about gnu coding standards, so drop the @info file 2011-11-08 20:23:00 +00:00
jasper
22c6845a80 Don't install the xml syscall files which only contain Linux' syscalls. 2011-11-08 12:40:41 +00:00
espie
a9f56ae2ac real fix for the actual problem, from upstream, as found by Pascal Stumpf 2011-10-28 14:42:43 +00:00
pvalchev
7aac74e4a6 no longer makes sense to have this in the ports tree, in-tree version
will be kept up to date.
2004-10-26 06:31:17 +00:00
pvalchev
7dcb27d3b4 Import of gdb-6.0.90, the GNU Debugger
Submitted by, and work for needed support written by
Mark Kettenis <kettenis@gnu.org>

Only for amd64 i386 sparc

Not all architectures work/are enabled at this point, this is
mostly being included due to the desperate need for an amd64
debugger this release.
2004-03-07 08:21:12 +00:00