69 Commits

Author SHA1 Message Date
kn
908fe6864a Set SEPARATE_BUILD=yes
118M build-amd64 and 192M gdb-7.2.1 are worth keeping apart.
No modification to WRKSRC spotted during build, tests pass,
no PLIST change.
2020-03-29 17:23:30 +00:00
kn
cc20508bd6 Python is a BDEP, add @shared-lib PLIST marker
Python is in LDEP and used in post-install.

MODPY_BUILDDEP=No removal OK sthen
2020-03-29 14:47:51 +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
sthen
e8a3ed4a98 Some ports using gnulib previously detected a broken realpath and switched to an
internal replacement function. Following the changes to make realpath(3) use the
__realpath() syscall these no longer detect broken realpath i.e. produce different
code. Bump REVISION to ensure that users get the new version.
2019-07-16 21:29:41 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
sthen
e40f996745 another batch of ncurses->curses WANTLIB updates, skipping any
that have gettext LIB/RUN_DEPENDS to avoid conflicts for naddy's
multipackaging work
2019-05-20 20:52:31 +00:00
jca
c533fba26c Register .pyc files so they are properly deleted when removing the package.
The .pyc files could be created after installation when running egdb as
root.

ok kirby@ landry@ sthen@
2018-11-01 20:36:08 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
jca
cfd40afae8 Drop comment outdated now that this builds on arm64 2018-07-11 19:45:58 +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
espie
5ee13fb3d5 oh hey, we've had a hidden dependency on guile in like, *forever*
leading to breaks.
2017-12-04 17:39:33 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
d34ac70ed7 add comment re lang/ocaml and aarch64 2017-05-25 22:59:13 +00:00
sthen
5f6b1485f3 avoid wasting time on aarch64, there is no gdb yet 2017-05-25 22:25:25 +00:00
sthen
7b9fdbb2c9 use LIBCXX 2017-04-10 11:45:22 +00:00
pascal
a08dd8daee update to gdb 7.12.1. 2017-01-28 21:38:15 +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
2be5b83b47 Tests now need dejagnu.
ok pascal@ (maintainer)
2016-09-03 13:51:09 +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
d696c9e290 Update to gdb 7.11.1. 2016-08-08 08:58:27 +00:00
pascal
b01174ae9b Update my mail address. 2016-05-07 12:40:56 +00:00
pascal
50de65c8c4 Update to GDB 7.11. 2016-03-04 19:25:27 +00:00
pascal
1ecf22d913 Update to gdb 7.10.1 2015-12-24 09:33:57 +00:00
pascal
c609785292 Update to GDB 7.10. 2015-09-09 19:47:17 +00:00
espie
bdcf3f3717 conflicts 2015-06-10 10:55:10 +00:00
pascal
9e588fc36c update to gdb 7.9.1, from Brad 2015-06-04 21:21:38 +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
56584c86a0 Update to GDB 7.7.1. 2014-05-06 09:28:59 +00:00
pascal
3d1d091504 Update to gdb 7.7. 2014-03-09 19:49:21 +00:00
naddy
725de75f3a move http://www.gnu.org to https 2013-11-09 23:19:01 +00:00
landry
8d8e94e4c2 Add --without-lzma to CONFIGURE_ARGS to ensure gdb doesnt pick a hidden
dependency on archivers/xz.
2013-10-28 18:11:06 +00:00
pascal
8cda404b8a Bugfix update to GDB 7.6.1. 2013-09-01 09:29:45 +00:00
pascal
dfa7352337 Update to GDB 7.6. 2013-05-04 21:27:11 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
pascal
e47cfeda6d Small bugfix update to 7.5.1. 2012-11-29 18:58:40 +00:00
pascal
551d2539ac Update to gdb 7.5. 2012-08-25 19:15:44 +00:00
pascal
f60ae88499 Minor update to 7.4.1. 2012-05-04 21:09:29 +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