78 Commits

Author SHA1 Message Date
naddy
85229c97e7 drop RCS Ids 2022-03-11 18:49:30 +00:00
sthen
a0a63eab33 backport upstream commit to fix startup with python 3.9
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=c47bae859a5af0d95224d90000df0e529f7c5aa0
2021-11-02 01:30:31 +00:00
sthen
75261975b1 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:00:22 +00:00
jca
cc784d6105 Update to gdb-9.2
Lot of churn because some files were renamed but also lots of patches
dropped for proper threads support.  The riscv64 code comes from the
FreeBSD code with minor editions.  This update drops support for m88k
(removed upstream) and sh (no ports-gcc).  Most of this was done during
k2k21 thanks to the tests and contributions from many.  Thank you all!

Tests by Matthias Schmidt, sthen@ cwen@ kn@ jasper@ gkoehler@ jj@
kettenis@ and me.  Diffs from jj@ for octeon, gkoehler@ for powerpc64
and kettenis@ for arm64.

Untested architectures: alpha and hppa (base-gcc architectures for which
we don't ship packages), loongson.

ok kettenis@ sthen@ pascal@ (maintainer)
2021-10-22 18:30:35 +00:00
sthen
83b213ba21 fix gdb's auto-load directory, it was looking in a directory literally
named "${prefix}/share/auto-load"

maintainer timeout
2021-03-22 17:33:14 +00:00
sthen
dd6b865ed7 revert accidentally committed files 2021-03-15 21:02:10 +00:00
sthen
348dd587a2 update to py-ptyprocess-0.7.0, make py3-only 2021-03-15 20:53:22 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
jsg
8dfe3dff5a build gdb with --disable-sim
fixes -fno-common build on arm and makes update-plist output match amd64
2021-02-10 04:55:19 +00:00
sthen
8012ed6dd3 de-conflict gdb and arm-none-eabi-gdb. the conflicting files are
include/gdb/jit-reader.h
share/gdb/system-gdbinit/elinos.py
share/gdb/system-gdbinit/wrs-linux.py

these are not needed in most cases, and near identical between gdb and
arm-none-eabi-gdb (only difference is the copyright date), so having just
one copy is good enough.

remove old libbfd @conflict from gdb/pkg/PLIST while there (the libbfd
port was removed in 2011) noticed by solene@.

prompted by a suggestion from solene@ to remove the gdb dependency from
gnustep/projectcenter, looks fine to her.
2020-12-09 21:41:43 +00:00
kettenis
2a281cc5f2 Make running programs under gdb work on powerpc64.
ok jasper@
2020-10-18 18:49:10 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
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
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
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
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