notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
gdb GNU Project Debugger
12.1_3 devel on this many watch lists=13 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: pizzamig@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-11-16 20:41:14
Last Update: 2023-01-16 19:32:07
Commit Hash: e1287d0
People watching this port, also watch:: git, pkg, sudo, bash, smartmontools
License: GPLv3
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • gdb>0:devel/gdb
To install the port:
cd /usr/ports/devel/gdb/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/gdb
  • pkg install gdb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gdb
Package flavors (<flavor>: <package>)
  • py39: gdb
distinfo:

Packages (timestamps in pop-ups are UTC):
gdb
ABIlatestquarterly
FreeBSD:11:aarch648.29.2_1
FreeBSD:11:amd6411.110.2_1
FreeBSD:11:armv67.11.19.2_1
FreeBSD:11:i38611.110.2_1
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch648.212.1_2
FreeBSD:12:amd6412.1_312.1_2
FreeBSD:12:armv68.29.2_1
FreeBSD:12:armv78.29.2_1
FreeBSD:12:i38612.1_312.1_2
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-fallout10.1_1
FreeBSD:13:aarch6412.1_312.1_2
FreeBSD:13:amd6412.1_312.1_2
FreeBSD:13:armv610.1_112.1
FreeBSD:13:armv712.1_312.1_2
FreeBSD:13:i38612.1_312.1_2
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc6410.1_112.1_2
FreeBSD:13:riscv64pkg-fallout12.1
FreeBSD:14:aarch6412.1_3pkg-fallout
FreeBSD:14:amd6412.1_3pkg-fallout
FreeBSD:14:armv612.1_2pkg-fallout
FreeBSD:14:armv712.1_3pkg-fallout
FreeBSD:14:i38612.1_3pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc6412.1_2pkg-fallout
FreeBSD:14:riscv6411.1_1pkg-fallout
 
gdb-py27
ABIlatestquarterly
FreeBSD:11:aarch64pkg-fallout9.2_1
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout9.2_1
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-fallout9.2_1
FreeBSD:12:armv7pkg-fallout9.2_1
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. makeinfo : print/texinfo
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.9 : lang/python39
Test dependencies:
  1. runtest : misc/dejagnu
  2. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libexpat.so : textproc/expat2
  4. libsource-highlight.so : textproc/source-highlight
  5. libxxhash.so : devel/xxhash
  6. libintl.so : devel/gettext-runtime
  7. libiconv.so : converters/libiconv
  8. libreadline.so.8 : devel/readline
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/nemiver*
  2. Collapse this list of deleted ports.
for Run
  1. devel/anjuta
  2. editors/lazarus
  3. editors/lazarus-devel
  4. editors/lazarus-qt5
  5. editors/lazarus-qt5-devel
  6. security/gef
  7. security/peda
Expand this list (17 items / 10 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/bstack
  3. sysutils/panicmail
  4. Collapse this list.

Deleted ports which required this port:

Expand this list of 8 deleted ports
  1. devel/gps*
  2. devel/nemiver*
  3. editors/lazarus-lcl-gtk2*
  4. editors/lazarus-lcl-nogui*
  5. editors/lazarus-lcl-qt*
  6. editors/lazarus-lcl-qt5*
  7. editors/lazarus-lcl-units*
  8. editors/lazarus-qt4*
  9. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/gdb/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/gdb/
  3. ftp://mirrors.rit.edu/gnu/gdb/
  4. http://download.xs4all.nl/gnu/gdb/
  5. http://ftp.halifax.rwth-aachen.de/gnu/gdb/
  6. http://ftp.kddilabs.jp/GNU/gnu/gdb/
  7. http://mirror.navercorp.com/gnu/gdb/
  8. https://ftp.gnu.org/gnu/gdb/
  9. https://ftpmirror.gnu.org/gdb/
  10. https://mirror.netcologne.de/gnu/gdb/
  11. https://mirrors.kernel.org/gnu/gdb/
  12. https://www.nic.funet.fi/pub/gnu/gnu/gdb/
Collapse this list.

Number of commits found: 169 (showing only 100 on this page)

1 | 2  »  

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.1_3
16 Jan 2023 19:32:07
commit hash:e1287d0d1228d93e469256fa6c4c824b9d20426bcommit hash:e1287d0d1228d93e469256fa6c4c824b9d20426bcommit hash:e1287d0d1228d93e469256fa6c4c824b9d20426bcommit hash:e1287d0d1228d93e469256fa6c4c824b9d20426b files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
*/*:	bump libboost*.so libraries consumert after Boost upgrade
12.1_2
18 Nov 2022 16:08:34
commit hash:294875721ef0eeb1c5b842c16ff6edfd8e98ebc7commit hash:294875721ef0eeb1c5b842c16ff6edfd8e98ebc7commit hash:294875721ef0eeb1c5b842c16ff6edfd8e98ebc7commit hash:294875721ef0eeb1c5b842c16ff6edfd8e98ebc7 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
devel/gdb: make Expat and xxHash support optional (on by default)

While Expat dependency was hardcoded, xxHash was not and could
be silently picked up, resulting in the unregistered dependency.
Allow users to explicitly disable both if desired.  Remove DEBUG
option (correct way to build debug packages is -DWITH_DEBUG) and
adjust a couple of option descriptions.
12.1_2
14 Nov 2022 15:14:58
commit hash:08bc1b7eda54274ee3c44ebbf28d21a6e1424296commit hash:08bc1b7eda54274ee3c44ebbf28d21a6e1424296commit hash:08bc1b7eda54274ee3c44ebbf28d21a6e1424296commit hash:08bc1b7eda54274ee3c44ebbf28d21a6e1424296 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
devel/gdb: fix handling of SOURCE_HIGHLIGHT port option

- It is of --enable/disable type, not --with/without one
- Garbage-collect no longer useful NOT_FOR_ARCHS (we had
  not been building sparc64 packages for many years now)
12.1_2
20 Oct 2022 07:21:15
commit hash:60077ba44d8cd1b2f5a9bce9cb2ff060b1637108commit hash:60077ba44d8cd1b2f5a9bce9cb2ff060b1637108commit hash:60077ba44d8cd1b2f5a9bce9cb2ff060b1637108commit hash:60077ba44d8cd1b2f5a9bce9cb2ff060b1637108 files touched by this commit
Luca Pizzamiglio (pizzamig) search for other commits by this committer
devel/gdb: Fix support to readline 8.2

While here, half fix a warning in kgdb
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
12.1_1
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.1_1
12 Aug 2022 14:46:53
commit hash:4cf39decb348615b9c8a28370d987a85d1b8a5edcommit hash:4cf39decb348615b9c8a28370d987a85d1b8a5edcommit hash:4cf39decb348615b9c8a28370d987a85d1b8a5edcommit hash:4cf39decb348615b9c8a28370d987a85d1b8a5ed files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
*/*: bump all consumers after recent boost upgrade
12.1
20 Jul 2022 14:21:35
commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.1
30 May 2022 23:24:21
commit hash:c5722abb6a5cfdb83d8e2fcce271cba48dbd7281commit hash:c5722abb6a5cfdb83d8e2fcce271cba48dbd7281commit hash:c5722abb6a5cfdb83d8e2fcce271cba48dbd7281commit hash:c5722abb6a5cfdb83d8e2fcce271cba48dbd7281 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Fix build of GDB 12.1 on older aarch64 systems.

Backport a patch from GDB to fix the build on aarch64 systems that do
not support hardware breakpoints/watchpoints.

PR:		264095
Reviewed by:	pizzamig (maintainer), mikael
Differential Revision:	https://reviews.freebsd.org/D35332
12.1
10 May 2022 17:41:13
commit hash:1c25ded0af45ac5dc5817b4004f99ee288a2ce7acommit hash:1c25ded0af45ac5dc5817b4004f99ee288a2ce7acommit hash:1c25ded0af45ac5dc5817b4004f99ee288a2ce7acommit hash:1c25ded0af45ac5dc5817b4004f99ee288a2ce7a files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Update to 12.1.

One notable feature included in 12.1 is async target support
permitting the use of commands like continue&.

In addition, this commit backports various post-12 commits to add
support for hardware breakpoints/watchpoints on aarch64, support for
resolving TLS variables from core dumps on amd64 and i386 via the
recently added NT_X86_SEGBASES core dump note, and support for
resolving TLS variables on arm and aarch64 via the recently added
NT_ARM_TLS register set.

Reviewed by:	pizzamig
Differential Revision:	https://reviews.freebsd.org/D35111
11.2
14 Apr 2022 17:00:58
commit hash:92d6b833f0a0bd5ef69af2b87dbc97174aaa395ccommit hash:92d6b833f0a0bd5ef69af2b87dbc97174aaa395ccommit hash:92d6b833f0a0bd5ef69af2b87dbc97174aaa395ccommit hash:92d6b833f0a0bd5ef69af2b87dbc97174aaa395c files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Handle recent 14.0 systems with libc++ in /lib.

The auto-load python wrapper for libc++ pretty printers has to be
installed at the same path as libc++ to work correctly.  Update the
port to install the top-level wrapper in lib/ under the auto-load data
directory instead of usr/lib on recent 14.0 systems.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D34636
11.2
17 Jan 2022 21:50:45
commit hash:0de6ea33bf6d384a4cbb88c869e40922ecb94787commit hash:0de6ea33bf6d384a4cbb88c869e40922ecb94787commit hash:0de6ea33bf6d384a4cbb88c869e40922ecb94787commit hash:0de6ea33bf6d384a4cbb88c869e40922ecb94787 files touched by this commit
Luca Pizzamiglio (pizzamig) search for other commits by this committer
devel/gdb: Update to 11.2

Changes: https://sourceware.org/gdb/download/ANNOUNCEMENT
11.1_2
06 Dec 2021 21:38:04
commit hash:2762292fc4cfa22b905389a57d17453554e1eeabcommit hash:2762292fc4cfa22b905389a57d17453554e1eeabcommit hash:2762292fc4cfa22b905389a57d17453554e1eeabcommit hash:2762292fc4cfa22b905389a57d17453554e1eeab files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Fix kernel backend registrations.

Per-architecture kernel backends are registered via GDB initialization
routines.  The GDB build uses a regular expression to identify the
initialization routines invoked during startup.  This regular
expression requires a single space between the function name and it's
empty argument list.  However, the initializers for aarch64, arm,
mips, and riscv had two spaces before the empty argument list causing
those backends to not be registered and the corresponding architecture
kernels to not be recognized.  Fix by removing the spurious spaces.

Reported by:	kevans
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D33255
11.1_1
14 Oct 2021 22:21:45
commit hash:8ca1b9dc93695b2288f6b40d08c392b5a6dfbef2commit hash:8ca1b9dc93695b2288f6b40d08c392b5a6dfbef2commit hash:8ca1b9dc93695b2288f6b40d08c392b5a6dfbef2commit hash:8ca1b9dc93695b2288f6b40d08c392b5a6dfbef2 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Avoid a divide by zero in kgdb.

Don't divide by zero if the message buffer size in a crashdump is
zero.

Reported by:	glebius
Reviewed by:	pizzamig (maintainer), emaste
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D32486
11.1
20 Sep 2021 20:46:02
commit hash:242d3697fdfac13de43f86843d9412ea1c2bd956commit hash:242d3697fdfac13de43f86843d9412ea1c2bd956commit hash:242d3697fdfac13de43f86843d9412ea1c2bd956commit hash:242d3697fdfac13de43f86843d9412ea1c2bd956 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/gdb: Update to 11.1.

This also pulls in some updates to libcxx-gdbpy to add pretty printers
for std::deque<>, std::stack<>, and std::unordered_map<>

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D32000
10.2_1
03 Jul 2021 09:54:51
commit hash:65af5b9da1535eba81a41c88e386aa1729ceb60ccommit hash:65af5b9da1535eba81a41c88e386aa1729ceb60ccommit hash:65af5b9da1535eba81a41c88e386aa1729ceb60ccommit hash:65af5b9da1535eba81a41c88e386aa1729ceb60c files touched by this commit
Luca Pizzamiglio (pizzamig) search for other commits by this committer
devel/gdb: Add a hack to fix the kill storm bug

While here, fix the debug install avoid stripping gdb
Bump portrevision

PR:		256838
Reported by:	arrowd@FreeBSD.org
Co-Author:	arrowd@FreeBSD.org
10.2
15 May 2021 07:14:04
commit hash:9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash:9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash:9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash:9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 files touched by this commit
Tobias Kortkamp (tobik) search for other commits by this committer
Author: Yasuhiro Kimura
*: Remove unnecessary 'port' argument from USES=readline

PR:		248459
Exp-run by:	antoine
10.2
09 May 2021 20:53:14
commit hash:ef407fdf486e6ff364baded9186db15d7f7d91f2commit hash:ef407fdf486e6ff364baded9186db15d7f7d91f2commit hash:ef407fdf486e6ff364baded9186db15d7f7d91f2commit hash:ef407fdf486e6ff364baded9186db15d7f7d91f2 files touched by this commit
Luca Pizzamiglio (pizzamig) search for other commits by this committer
devel/gdb: Update to 10.2

While here, fixed the guile patches
10.1_1
06 Apr 2021 14:31:13
commit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
10.1_1
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
10.1_1
08 Jan 2021 20:14:49
Revision:560808Original commit files touched by this commit
jhb search for other commits by this committer
Fix a couple of issues in kgdb.

- Properly unwind across in-kernel exceptions on arm.

- Enumerate processes via the pid hash table for kernels without the
  zombproc list.

PR:		251463 (1)
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D27849
10.1
29 Dec 2020 22:40:49
Revision:559628Original commit files touched by this commit
pizzamig search for other commits by this committer
Update COMMENT

PR:		250655
Submitted by:	Yasuhiro Kimura <yasu@utahime.org>
10.1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
10.1
07 Dec 2020 20:39:03
Revision:557246Original commit files touched by this commit
jhb search for other commits by this committer
Update kernel relocation code in kgdb for GDB 10.

This fixes the build of KGDB on head.

Pointy hat to:	jhb (for only testing kgdb on stable/12)
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D27499
10.1
04 Dec 2020 23:19:27
Revision:557028Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Update to 10.1

Reviewed by:	jhb@
Differential Revision:	https://reviews.freebsd.org/D27040
9.2_2
18 Oct 2020 21:43:25
Revision:552706Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Fix python 3.9 support

Add an already upstreamed patch to fix python 3.9 support

Submitted by:	kib (via email)
9.2_1
08 Jun 2020 10:07:30
Revision:538208Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: remove gnu89 requirement

Bump portrevision

PR:		246689
Reported by:	VVD <vvd@unislabs.com>
9.2
05 Jun 2020 17:36:18
Revision:538037Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Update to 9.2

It's a fix release.
While here, remove the obsolete gnu89 standard.

Changes: https://www.gnu.org/software/gdb/download/ANNOUNCEMENT
PR:		246689
Submitted by:	VVD <vvd@unislabs.com>
MFH:		2020Q2
9.1
13 Mar 2020 09:12:42
Revision:528338Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: fix build with BUILE option enabled

PR:		244760
Reported by:	Ting-Wei Lan <lantw44@gmail.com>
9.1
09 Mar 2020 20:58:28
Revision:528132Original commit files touched by this commit
jhb search for other commits by this committer
Update to GDB 9.1.

GDB 9 rejects attempts to build in the source tree, so this uses
CONFIGURE_OUTSOURCE.

Some patch files were renamed to track moving of files in upstream.

Approved by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23932
8.3.1_1
27 Feb 2020 01:01:03
Revision:527234Original commit files touched by this commit
jhb search for other commits by this committer
Bring in various kgdb fixes for powerpc.

This merges in several fixes for kgdb on powerpc including fixing
backtraces and cross-debugging support.

Submitted by:	luporl
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23844
8.3.1
01 Oct 2019 08:51:40
Revision:513464Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: update to 8.3.1

Changes: https://www.gnu.org/software/gdb/download/ANNOUNCEMENT

MFH:		2019Q4
8.3_3
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
8.3_2
27 Jun 2019 09:02:57
Revision:505200Original commit files touched by this commit
danfe search for other commits by this committer
Update Guile to version 2.2.5, modern stable version, and fix dependent
ports to build against it.  Most changes are rather minor and mechanical
except for the devel/gdb (obtained via their bugtracker [1], courtesy of
Doug Evans).  One port (science/meep) I had to mark BROKEN after fixing
it proved to be very tedious and actually unreliable.  It is very old,
there are newer versions available so it should be fixed by updating.

One port (devel/libruin) had revealed a bug in the new Guile code (an
auxiliary script, really) that had to be worked-round; reference to the
problematic upstream commit is provided in the patch.

PR:		229613
Exp-run by:	antoine

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c8
8.3_1
04 Jun 2019 04:17:27
Revision:503436Original commit files touched by this commit
glebius search for other commits by this committer
Unreverse the thread list for 'info threads' internal command. Now it
will match the natural order of tailq, and thus output of 'ps' macro
from tools/debugscripts/gdbinit.kernel.

Reviewed by:	pizzamig (maintainer), jhb
8.3
01 Jun 2019 00:44:08
Revision:503200Original commit files touched by this commit
jhb search for other commits by this committer
Update port to GDB 8.3.

New features in GDB 8.3 include support for DWARF index caches and
styling (colors) in the CLI and TUI.  Source code styling is also
available via the new SOURCE_HIGHLIGHT option (enabled by default).
GDB 8.3 also adds support for FreeBSD/riscv64.

In addition, kgdb has been updated for changes in 8.3 along with
support for FreeBSD/riscv64 kernels.

The libc++ helpers have been updated to a newer version which adds
support for std::list<> and std::forward_list<>.  The helpers now
also support Python 3.

Finally, a few post-8.3 patches have been backported which add suport
for TLS (Thread Local Storage) variables on FreeBSD amd64, i386,
powerpc, and riscv architectures.  Note that amd64 and i386 do not
support examining TLS variables in core dumps currently.  This support
along with support for additional architectures require kernel changes
and will be added in the future once the kernel has been updated.

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D20403
8.2.1_3
10 Apr 2019 06:18:32
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
8.2.1_2
09 Apr 2019 14:04:50
Revision:498476Original commit files touched by this commit
sunpoet search for other commits by this committer
Update devel/readline to 8.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
8.2.1_1
18 Feb 2019 08:41:14
Revision:493251Original commit files touched by this commit
gahr search for other commits by this committer
devel/gdb: fix package error w/o python introduced in r493008
8.2.1_1
15 Feb 2019 18:44:48
Revision:493008Original commit files touched by this commit
jhb search for other commits by this committer
Include pretty printers for libc++ when Python is enabled.

The pretty printers are pulled from github/bsdjhb/libcxx-gdbpy.git.
They are not complete and only support a subset of STL classes.

Bump PORTREVISION.

PR:		235539
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D19087
8.2.1
07 Feb 2019 16:26:24
Revision:492373Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: update to 8.2.1

Changes: https://www.gnu.org/software/gdb/news
8.2_3
15 Jan 2019 01:42:19
Revision:490337Original commit files touched by this commit
jhb search for other commits by this committer
Enable separate flavors for different python versions.

Since python is enabled by default, this keeps the version with the
default python version as 'gdb' and adds a package suffix for other
python versions.

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D18534
8.2_3
12 Dec 2018 17:34:58
Revision:487307Original commit files touched by this commit
jhb search for other commits by this committer
Fix packing list .pyc files when using Python 3.2+.

Reported by:	np
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D18515
8.2_3
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
8.2_2
11 Dec 2018 10:10:02
Revision:487230Original commit files touched by this commit
antoine search for other commits by this committer
Spell CHOSEN_COMPILER_TYPE correctly

PR:		199098
With hat:	portmgr
8.2_2
10 Dec 2018 17:23:19
Revision:487193Original commit files touched by this commit
jhb search for other commits by this committer
Various fixes for GDB's data directory.

- Backport a fix from master to fix the setting of the default
  auto-load paths.
- Switch to using the default data directory (PREFIX/share/gdb)
  instead of a version specific directory.  This allows gdb to use
  auto-load scripts installed by other packages to
  PREFIX/share/gdb/auto-load.  A couple of existing packages already
  do this such as libglib and libgobject.
- Add symlinks for gdb.1 and kgdb.1 manpages without version numbers.
  This makes 'man gdb' and 'man kgdb' work on 12.0 which doesn't have
  these manpages in the base system.
- Precompile the installed python scripts and add then to the packing
  list.  This avoids leaving .pyc files around after the package is
  deleted if gdb (or kgdb) is run as root.
- Bump PORTREVISION.

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D18476
8.2_1
06 Dec 2018 17:56:00
Revision:486773Original commit files touched by this commit
jhb search for other commits by this committer
Speed up devel/gdb startup on FreeBSD

On non-Linux systems that do not have fdwalk(), gdb currently iterates
over all possible file descriptors when checking for open files.
Merge an upstream patch that fixes this by adding a FreeBSD
implementation using kinfo_getfile().

Submitted by:	Brandon Bergren <git@bdragon.rtk0.net> (initial patch)
Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D17426
8.2
28 Nov 2018 15:32:45
Revision:486096Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Add NLS option

Add NLS option (default ON, so no portrevision bump is needed)
While I'm here, get rid of FreeBSD 10.x bits
8.2
24 Sep 2018 17:23:35
Revision:480613Original commit files touched by this commit
jhb search for other commits by this committer
Upgrade to 8.2.

- Remove patches for upstream commits in 8.2.
- Add an upstream patch to include NT_PROCSTAT_AUXV, NT_PROCSTAT_PS_STRINGS,
  and NT_PROCSTAT_VMMAP notes in core dumps generated by 'gcore'.
- Update kgdb for changes in 8.2.
- Add 'USES=gettext-runtime'

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D17085
8.1.1
11 Aug 2018 13:17:52
Revision:476883Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Update to 8.1.1

A bunch of bug fixes and support to Pythong 3.7 fixed

PR:		230494
Reported by:	Yasuhiro KIMURA <yasu@utahime.org>
Sponsored by:	Essen Hackathon
8.1_5
28 Jul 2018 10:18:33
Revision:475518Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Fix iconv support

Fix iconv support.
Bump portrevision.

PR:		230036
Reported by:	Gleb Popov <arrowd@FreeBSD.org>
8.1_4
27 Jul 2018 14:05:08
Revision:475441Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: add support to UTF-8 charset

Introduced a new option, enabled on default, to use libiconv, that
provide wchar_t support and allow to use UTF-8 charset in gdb

PR:		230036
Reported by:	Gleb Popov <arrowd@FreeBSD.org>
8.1_3
25 Jul 2018 17:28:36
Revision:475318Original commit files touched by this commit
jhb search for other commits by this committer
Fixes for kgdb including initial FreeBSD/arm support.

- Improve fallback handling for the read of pcb_size.

  If for some reason kgdb has only the kernel's debug info, a read of
  pcb_size will simply return 0, resulting in an exception when unwinding
  the stack of a thread that was on a CPU at the time the dump was
  created.  In this case, fall back to using sizeof(struct pcb).
- Always supply a value for the PC register on x86.

  A thread's PCB may have been swapped out, and a dummy value ensures that
  we don't get an exception while enumerating threads in a dump.
- Mark all 64-bit address bits as valid for aarch64 kernels.

  ARMv8 supports pointer tagging in which case the upper 8 bits of VAs are
(Only the first 15 lines of the commit message are shown above View all of this commit message)
8.1_2
02 May 2018 13:04:53
Revision:468827Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Add mpfr as dependency

Add mpfr as dependency to emulate target floating-point arithmetic during
expression evaluation when the target uses different floating-point
formats than the host

PR:		227798
Reported by:	philippe.michel7@sfr.fr
8.1_1
17 Mar 2018 12:29:45
Revision:464813Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: fix a typo in the Makefile
8.1_1
16 Mar 2018 14:29:38
Revision:464688Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: fix build on current

Clang 6 doesn't allow negative numbers to be implicitely converted to
unsigned types.
This patch explicits all casts.
While I'm here, add an option to silent tons of warning messages

PR:		226644
Reported by:	rakuco@
8.1
14 Mar 2018 14:33:22
Revision:464493Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Update to version 8.1

The official annoucement is available here:
https://www.gnu.org/software/gdb/download/ANNOUNCEMENT

Moreover:
* support for 'info proc' is added (jhb@)
* update kgdb to use gdb 8.1

Reviewed by:	jhb@
Differential Revision:	https://reviews.freebsd.org/D14148
8.0.1_2
26 Jan 2018 19:57:24
Revision:460050Original commit files touched by this commit
jhb search for other commits by this committer
KGDB fixes for amd64 and aarch64.

- Update the amd64 kernel support to recognize mchk_calltrap as a
  trapframe generator.
- Remove some unneeded headers from fbsd-kld.c.
- Various fixes to get stack traces working for aarch64 kernels:
  - Map the LR register from the PCB to PC instead of LR.
  - Skip the PC register from the PCB as it isn't initialized to anything.
  - Correct the register cache map for the PCB.  The old one had the
    offsets of pcb_sp and pcb_pc reversed.
  - Don't map all of the saved general purpose registers in a
    trapframe to X1 rather than X0 .. X29.
  - Use correct name for el0 trapframe entry points.

Reviewed by:	pizzamig (maintainer)
MFH:		2018Q1
Differential Revision:	https://reviews.freebsd.org/D13977
8.0.1_1
13 Oct 2017 16:31:55
Revision:452019Original commit files touched by this commit
jhb search for other commits by this committer
Merge in updates for mipsn32 and 32-bit arm.

- Brings in upstream commits to fix debugging on mipsn32 (properly parsing
  registers and signal information in core dumps as well as unwinding across
  signal frames)
- Brings in upstream commits for reworked ARM support.  Compared to the
  existing patch-armfbsd, this version includes generic FreeBSD target
  support (auxv, thread names from cores, $_siginfo, syscall names, etc.)
  as well as VFP support and an unwinder for signal frames.

Reviewed by:	pizzamig (maintainer)
MFH:		2017Q4
Differential Revision:	https://reviews.freebsd.org/D12630
8.0.1
10 Oct 2017 21:31:30
Revision:451721Original commit files touched by this commit
linimon search for other commits by this committer
For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
8.0.1
29 Sep 2017 14:49:59
Revision:450895Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Update to gdb 8.0.1

Resolve tons of warnings.
Fix the type of literal string as char const *
Fix Makefile's variables order and adding the license file
Rework patches to make portlint happy

Reviewed by:	jhb
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D12525
8.0_3
13 Sep 2017 14:27:14
Revision:449795Original commit files touched by this commit
pizzamig search for other commits by this committer
devel/gdb: Fix build on MIPS and powerpc

Fixing build on big-endian 64bit platforms, like MIPS and powerpc

Submitted by:	jhb
Reviewed by:	andreast
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12182
8.0_3
10 Sep 2017 20:55:39
Revision:449591Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
8.0_2
29 Aug 2017 13:05:21
Revision:448911Original commit files touched by this commit
pizzamig search for other commits by this committer
Change MAINTAINER email to my new FreeBSD email

Approved by:	lme (mentor)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12150
8.0_2
23 Aug 2017 16:07:43
Revision:448627Original commit files touched by this commit
jhb search for other commits by this committer
Add aarch64 support to GDB.

This includes support for cross-debugging aarch64 process cores and
kernels as well as native support for aarch64 processes.  Hardware
single stepping is supported, but hardware watchpoints are not yet
supported.

Reviewed by:	luca.pizzamiglio@gmail.com (maintainer)
Approved by:	az (implicit)
Differential Revision:	https://reviews.freebsd.org/D12074
8.0_1
04 Aug 2017 20:16:33
Revision:447377Original commit files touched by this commit
jhb search for other commits by this committer
Backport support for fs_base/gs_base and $_siginfo from GDB master.

Bring in two patchsets committed to GDB master along with a few other commits
those patchsets depend on.
- Add support for examining $_siginfo.  When a thread has valid signal
  information, report the current information in a $_siginfo variable.
  For live processes the values are extracted via the PT_LWPINFO ptrace
  request.  The values are also extracted from process core dumps that
  include NT_LWPINFO notes (currently only present in FreeBSD 12-current).
- Add support for the $fs_base and $gs_base registers on amd64.  This only
  works for live processes via the PT_{GET,SET}{FS,GS}BASE ptrace requests.
  FreeBSD currently does not store these values in core dumps, so they are
  not available from core dumps.

Reviewed by:	luca.pizzamiglio@gmail.com (maintainer)
Approved by:	az, imp
Differential Revision:	https://reviews.freebsd.org/D11813
8.0
28 Jul 2017 21:20:48
Revision:446852Original commit files touched by this commit
jhb search for other commits by this committer
Upgrade to GDB 8.0.

- Commit b5430a3ced fixes parsing of 32-bit MIPS process cores.
- kgdb has been ported to 8.0 including renaming the new OSABI constant,
  using gdb_bfd_openr, new return type of ldirname, and solib_add
  changed.
- GDB 8.0 requires C++11, however the port is marked as requiring C++14
  as a workaround for bugs in clang 10.3.
- patch-armfbsd is updated for the new OSABI constant names (a.out was
  removed in 8.0) and new filename convention (arm-fbsd-*)
- patch-gdb-amd64-bsd-nat.c (renamed from patch-gdbamd64-bsd-nat.c) is
  simplified to just store the r_flags value before collecting registers
  from the register cache rather than a full copy of the entire register
  set.
- patch-gdb-corelow.c has been removed.  It isn't really correct and if
(Only the first 15 lines of the commit message are shown above View all of this commit message)
7.12.1_2
10 Jul 2017 16:58:12
Revision:445441Original commit files touched by this commit
jhb search for other commits by this committer
Permit building GDB with python 3.

The python support in GDB works with either python 2 or python 3.  There
is no reason to restrict it to python 2 only.

PR:		219844
Submitted by:	mi
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
MFH:		2017Q3
7.12.1_2
27 Jun 2017 13:46:53
Revision:444463Original commit files touched by this commit
sunpoet search for other commits by this committer
Update devel/readline to 7.0 patch 3

- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
7.12.1_1
26 Jun 2017 23:44:13
Revision:444433Original commit files touched by this commit
linimon search for other commits by this committer
Sort ARCHS.  Pet portlint.

Approved by:	portmgr (tier-2 blanket)
7.12.1_1
25 Jun 2017 00:29:09
Revision:444251Original commit files touched by this commit
linimon search for other commits by this committer
Begin deorbit burn of ia64.  We have not attempted to build packages for
it for many years.

While here, alphabetize ARCHs, pet portlint, and modernize usages.

Approved by:	portmgr (tier-2 blanket)
7.12.1_1
08 May 2017 19:02:25
Revision:440447Original commit files touched by this commit
jhb search for other commits by this committer
Fix several issues with kgdb:

- The kld parsing code in kgdb was using basename() and dirname() which
  ended up being broken by the recent changes to make dirname() modify its
  input buffer.  Modify fbsd-kld.c to use the lbasename() and ldirname()
  wrappers in gdb.
- Add the kgdb.1 manpage from base and install it as 'kgdbNNN.1' which is
  helpful since stock HEAD no longer ships a kgdb manpage.
- Link libkvm into mips binaries so that the vmcore target links.
- Bump PORTREVISION.

PR:		219028
Reviewed by:	luca.pizzamiglio@gmail.com (maintainer)
Approved by:	rene
7.12.1
14 Feb 2017 10:29:38
Revision:434072Original commit files touched by this commit
olivier search for other commits by this committer
Update to 7.12.1
Updating gdb to the last stable version and cleaning it up.

PR:		217090
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)

PR:		216027
  - Recognizing the compiler to adopt options properly
  Reported by:   julian@FreeBSD.org

PR:		216132
  - Fixing the segmentation fault, but arm core dump not yet usable
  Reported by:   Mark Millard
7.12_1
16 Jan 2017 16:47:00
Revision:431680Original commit files touched by this commit
mat search for other commits by this committer
Extract do-patch into a separate script.

PR:		215761
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9029
7.12_1
13 Jan 2017 06:56:50
Revision:431343Original commit files touched by this commit
olivier search for other commits by this committer
Fix my previous wrong commit by removing duplicate file content.
7.12_1
12 Jan 2017 21:40:06
Revision:431323Original commit files touched by this commit
olivier search for other commits by this committer
Add MIPS support and other fixes

PR:		215938
- Main PR that merge all
Submitted by:   luca.pizzamiglio@gmail.com (maintainer)

PR:		215783
- Add MIPS support
Submitted by:   jhb
Sponsored by:   DARPA / AFRL

PR:		215868
- Fix build on powerpc architecture
Reported by:    Mark Millard

PR:		212607
- Add a workaround to mitigate gdb hangs under some circumstances
with multi-threaded applications
(thanks to misc-freebsd-bugzilla@talk2dom.com)
Reported by:    tijl

PR:		215578
- Fix build by removing option to use system readline
Reported by:    rozhuk.im@gmail.com
7.12
09 Jan 2017 13:16:50
Revision:430947Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL

Approved by:	portmgr blanket
7.12
19 Dec 2016 12:08:09
Revision:428922Original commit files touched by this commit
tijl search for other commits by this committer
Fix build with BUNDLED_READLINE option.

Reported by:	gahr
7.12
18 Dec 2016 16:08:14
Revision:428876Original commit files touched by this commit
tijl search for other commits by this committer
Update to 7.12.

PR:		214927
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
7.11.1_3
23 Jul 2016 13:23:37
Revision:418964Original commit files touched by this commit
jhb search for other commits by this committer
A few more recent patches that were merged to upstream GDB:

- Handle version 1a of NT_PRPSINFO notes which include the pr_pid field.
- Replace patch-sigev with upstream version.  Note that upstream GDB
  doesn't define SIGLIBRT on older OS versions, so do that in the port
  Makefile instead.
- Use PT_GET_EVENT_MASK/PT_SET_EVENT_MASK (new in 12).
- Fix a bug where fork and LWP events weren't enabled in new child
  processes when following child processes after a fork.
- Handle "real" vfork done events via PTRACE_VFORK (new in 12).

PR:		211254
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
7.11.1_2
15 Jul 2016 01:10:15
Revision:418566Original commit files touched by this commit
jhb search for other commits by this committer
Import several patches recently merged upstream.

- Fix fork following to honor 'detach-on-fork'
- Fix vfork following to post a fake vfork_done event to fix breakpoints
  in vfork parents (a real vfork_done event is pending but requires kernel
  changes currently in review).
- Fix x86 debug registers to work with multiple threads (PR 157755)
- Add support for 'info auxv' on both live processes and cores.
- Add support for 'catch syscall'.  Note that catching system calls by
  names requires parsing an XML file mapping system call names to
  numbers.  The port now installs the XML syscall files to the data
  directory.  In addition, the EXPAT option is now enabled by default as
  expat is used to parse the XML files.
- Bump PORTREVISION.

PR:		157755, 210874
Approved by:	luca.pizzamiglio@gmail.com (maintainer), bdrewery
7.11.1_1
24 Jun 2016 18:51:21
Revision:417443Original commit files touched by this commit
pawel search for other commits by this committer
Enable PYTHON option by default

PR:		210497
Submitted by:	maintainer
7.11.1
05 Jun 2016 12:04:34
Revision:416392Original commit files touched by this commit
riggs search for other commits by this committer
Update to upstream release 7.11.1

Includes several runtime fixes, e.g. crashes on reverse-stepi
and use-after-free errors, see https://www.gnu.org/software/gdb/news/

PR:		209935
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
MFH:		2016Q2
7.11_2
01 Jun 2016 15:35:42
Revision:416247Original commit files touched by this commit
ed search for other commits by this committer
Make GDB build when basename() is POSIX compliant.

GDB's libiberty.h has a prototype of the basename() function it which
does not match the one that is part of POSIX, declared in libgen.h. This
is normally never visible, as GDB never includes libgen.h. On FreeBSD,
it unfortunately is, as our locally added copy of kgdb includes both.

Fix up libiberty.h to just include libgen.h. I'm currently discussing
with upstream how a clean fix should be done, but I guess that
requires more refactoring to the existing code. We'd better not bother
importing that and stick to this compact workaround.

Reviewed by:	bapt@, mi@, Luca Pizzamiglio
Differential Revision:	https://reviews.freebsd.org/D6630
7.11_2
14 May 2016 07:50:49
Revision:415176Original commit files touched by this commit
riggs search for other commits by this committer
Fix build with libreadline from base system (via BASE_READLINE OPTION)

PR:		209431
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
MFH:		2016Q2 (ports secteam build fix blanket)
7.11_1
27 Apr 2016 16:11:53
Revision:414115Original commit files touched by this commit
jhb search for other commits by this committer
Fix an issue with gdb triggering assertions in kgdb on i386.

The kgdb targets use runtime assertions on native targets to verify
that the helper arrays documenting the layout of things like the PCB
and trapframe structures match.  Ideally these asserts would be
compile time assertions, but they cannot be checked at compile time.
Instead, they are checked at runtime during gdb startup.

However, the layout of the i386 PCB changed when the AVX changes were
merged to i386.  The constants in the i386 target assume the post-AVX
layout, but gdb packages on stable branches might be built against
pre-AVX worlds.  In that case, those gdb binaries will trigger these
assertions on every invocation.

As a workaround, disable the PCB-related assertions on pre-AVX worlds.
If kgdb is run against a pre-AVX kernel it will not be able to parse
the PCB correctly, but userland debugging should work fine.  kgdb
built against a pre-AVX world but run against an AVX kernel should
work fine.

PR:		209061
Reported by:	trasz
Approved by:	luca.pizzamiglio@gmail.com (maintainer), swills
7.11
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
7.11
14 Mar 2016 16:19:35
Revision:411099Original commit files touched by this commit
tijl search for other commits by this committer
Update devel/gdb to 7.11 which includes new thread support implemented
by jhb.  Special thanks to jhb for the amazing work on gdb!

PR:		207972
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_5
06 Mar 2016 03:13:16
Revision:410229Original commit files touched by this commit
gonzo search for other commits by this committer
Add support for armv6 native debugging (no crossdebugging yet)

PR:		205468
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_5
11 Jan 2016 17:36:13
Revision:405792Original commit files touched by this commit
jhb search for other commits by this committer
Various fixes to kgdb.  Port revision bumped since kgdb is enabled by
default.
- kgdb -n now permits any valid string to be used instead of only
  permitting numbers.  In particular, this allows 'kgdb -n last' to be
  used to open the most recent vmcore.
- kgdb will now try to determine the list of kernel modules even if the
  kernel binary does not include debug symbols.  This works fine in kernels
  that have the changes in r290728.
- Mark trapframes as "signal trampoline frames".  GDB assumes that "normal"
  frames will never call into a NULL PC.  Instead, it assumes that calling a
  NULL PC will result in an exception (and thus a signal being posted
  resulting in a signal frame).  A trap for a NULL function pointer would
  thus stop unwinding once it hit the frame with a NULL PC.  Marking the
  trapframes as a signal frame tells GDB it is ok to unwind past a NULL PC.
  One side effect is that frames in the asm handler now display as "signal
  handler called" instead of the raw line in assembly.  Perhaps at some
  point it would be nice to mark these up the way ddb does with the trap
  number, etc. but GDB's stack code doesn't support custom frame printers.

PR:		206044
Reviewed by:	luca.pizzamiglio@gmail.com (maintainer)
Approved by:	koobs
7.10_4
04 Dec 2015 21:52:09
Revision:403011Original commit files touched by this commit
jkim search for other commits by this committer
Partially revert r401242 to fix build with PYTHON option turned on.  Note
it is not possible to use PYTHON_CMD like this because it is resolved too
late and configure script fails like this:

checking whether to use python...
checking for ... missing
configure: error: unable to find python program

MFH:		2015Q4
7.10_4
11 Nov 2015 13:12:03
Revision:401242Original commit files touched by this commit
tijl search for other commits by this committer
- Pass --without-guile to configure when GUILE option is off
- Use CONFIGURE_WITH for other options as well

PR:		204041
7.10_4
11 Nov 2015 12:06:33
Revision:401237Original commit files touched by this commit
tijl search for other commits by this committer
Enable regression tests

PR:		200610
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_4
05 Nov 2015 18:48:47
Revision:400860Original commit files touched by this commit
tijl search for other commits by this committer
- Fix a potential parallel build issue
- Fix a regression when debugging a threaded process that forks
  (like r399623, but for vfork(2))

PR:		203661
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_3
19 Oct 2015 19:52:48
Revision:399717Original commit files touched by this commit
tijl search for other commits by this committer
Don't look up thread names when examining core files.  The names are only
available when a process is running.

PR:		201291
Submitted by:	Eric Badger <eric@badgerio.us>
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_2
19 Oct 2015 18:02:49
Revision:399704Original commit files touched by this commit
jkim search for other commits by this committer
Fix build with KGDB option.
7.10_2
18 Oct 2015 17:31:17
Revision:399623Original commit files touched by this commit
tijl search for other commits by this committer
Fix a regression when debugging a threaded process that forks.

PR:		203661
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
7.10_1
16 Oct 2015 22:43:21
Revision:399525Original commit files touched by this commit
jhb search for other commits by this committer
Enable KGDB by default.

PR:		203782
Approved by:	luca.pizzamiglio@gmail.com (maintainer), koobs
7.10
06 Oct 2015 18:52:59
Revision:398712Original commit files touched by this commit
jhb search for other commits by this committer
Add a new KGDB option to the devel/gdb port.  This adds a forward port
of the kernel-specific bits of kgdb to recent gdb.  It only supports
amd64, i386, powerpc, powerpc64, and sparc64.

PR:		203299
Reviewed by:	bdrewery
Glanced at by:	emaste, jilles, luca.pizzamiglio@gmail.com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D3727
7.10
18 Sep 2015 17:27:25
Revision:397259Original commit files touched by this commit
jhb search for other commits by this committer
Update gdb to 7.10

* Removing patches from the port already committed in upstream
* Adopting the new OPTION dependent targets (like do-install-PYTHON-on:)
* Enable support for 64-bit targets on 32-bit systems (e.g. allow the i386
  gdb to debug an amd64 binary).
* Now supports fork and exec tracing.

PR:		203170
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
Approved by:	tijl

Number of commits found: 169 (showing only 100 on this page)

1 | 2  »