notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
gdb GNU GDB of newer version than comes with the system
8.3_1 devel on this many watch lists=8 search for ports that depend on this port Find issues related to this port Report an issue related to this port
8.2.1Version 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: 2019-06-04 05:17:27
SVN Revision: 503436
License: GPLv3
GDB is a source-level debugger for Ada, C, C++, Objective-C, Pascal and
many other languages.  GDB can target (i.e., debug programs running on)
more than a dozen different processor architectures, and GDB itself can
run on most popular GNU/Linux, Unix and Microsoft Windows variants.

WWW: http://www.gnu.org/software/gdb/
SVNWeb : Homepage

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: pkg install gdb

PKGNAME: gdb

Package flavors (<flavor>: <package>)
  • py36: gdb
  • py27: gdb-py27

NOT_FOR_ARCHS: sparc64

distinfo:

TIMESTAMP = 1559324758
SHA256 (gdb-8.3.tar.xz) = 802f7ee309dcc547d65a68d61ebd6526762d26c3051f52caebe2189ac1ffd72e
SIZE (gdb-8.3.tar.xz) = 20490300
SHA256 (bsdjhb-libcxx-gdbpy-229610a_GH0.tar.gz) = d4235f98b71c4d5e3f01744de279e64808229dd46c0f00cac6a12fdeb3a998a1
SIZE (bsdjhb-libcxx-gdbpy-229610a_GH0.tar.gz) = 5299


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. python3.6 : lang/python36
Runtime dependencies:
  1. python3.6 : lang/python36
Library dependencies:
  1. libmpfr.so : math/mpfr
  2. libexpat.so : textproc/expat2
  3. libsource-highlight.so : textproc/source-highlight
  4. libintl.so : devel/gettext-runtime
  5. libiconv.so : converters/libiconv
  6. libreadline.so.8 : devel/readline

This port is required by:

for Build for Run * - 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
===> The following configuration options are available for gdb-8.3_1:
     DEBUG=off: Build with debugging support
     GDB_LINK=on: Create /usr/local/bin/gdb symlink
     GUILE=off: Guile extension language support
     KGDB=on: Kernel Debugging Support
     NLS=on: Native Language Support
     PYTHON=on: Python bindings or support
     SOURCE_HIGHLIGHT=on: Source Code Styling
     TUI=on: Text User Interface enabled
====> Command line editing via libreadline: you have to select exactly one of them
     BUNDLED_READLINE=off: from gdb distfile
     PORT_READLINE=on: from devel/readline port
====> Encoding conversion support via iconv: you have to select exactly one of them
     PORT_ICONV=on: use libiconv, with wider charset support
     SYSTEM_ICONV=off: use libc iconv, with no wchar support
====> zlib compression support: you have to select exactly one of them
     BUNDLED_ZLIB=off: from gdb distfile
     SYSTEM_ZLIB=on: use system zlib
===> Use 'make config' to modify these settings

USES:
compiler:c++11-lang cpe gmake libtool pkgconfig tar:xz gettext-runtime iconv:wchar_t readline:port python

Master Sites:
  1. ftp://ftp.gnu.org/gnu/gdb/
  2. ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/gdb/
  3. ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/gdb/
  4. ftp://ftp.kddlabs.co.jp/GNU/gnu/gdb/
  5. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/gdb/
  6. http://ftp.funet.fi/pub/gnu/prep/gdb/
  7. http://www.gtlib.gatech.edu/pub/gnu/gnu/gdb/
  8. https://ftp.gnu.org/gnu/gdb/
  9. https://ftpmirror.gnu.org/gdb/
  10. https://mirrors.kernel.org/gnu/gdb/

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

1 | 2  »  

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
04 Jun 2019 04:17:27
Original commit files touched by this commit  8.3_1
Revision:503436
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
01 Jun 2019 00:44:08
Original commit files touched by this commit  8.3
Revision:503200
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
10 Apr 2019 06:18:32
Original commit files touched by this commit  8.2.1_3
Revision:498530
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
09 Apr 2019 14:04:50
Original commit files touched by this commit  8.2.1_2
Revision:498476
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
18 Feb 2019 08:41:14
Original commit files touched by this commit  8.2.1_1
Revision:493251
gahr search for other commits by this committer
devel/gdb: fix package error w/o python introduced in r493008
15 Feb 2019 18:44:48
Original commit files touched by this commit  8.2.1_1
Revision:493008
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
07 Feb 2019 16:26:24
Original commit files touched by this commit  8.2.1
Revision:492373
pizzamig search for other commits by this committer
devel/gdb: update to 8.2.1

Changes: https://www.gnu.org/software/gdb/news
15 Jan 2019 01:42:19
Original commit files touched by this commit  8.2_3
Revision:490337
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
12 Dec 2018 17:34:58
Original commit files touched by this commit  8.2_3
Revision:487307
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
12 Dec 2018 01:35:36
Original commit files touched by this commit  8.2_3
Revision:487272
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
11 Dec 2018 10:10:02
Original commit files touched by this commit  8.2_2
Revision:487230
antoine search for other commits by this committer
Spell CHOSEN_COMPILER_TYPE correctly

PR:		199098
With hat:	portmgr
10 Dec 2018 17:23:19
Original commit files touched by this commit  8.2_2
Revision:487193
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
06 Dec 2018 17:56:00
Original commit files touched by this commit  8.2_1
Revision:486773
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
28 Nov 2018 15:32:45
Original commit files touched by this commit  8.2
Revision:486096
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
24 Sep 2018 17:23:35
Original commit files touched by this commit  8.2
Revision:480613
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
11 Aug 2018 13:17:52
Original commit files touched by this commit  8.1.1
Revision:476883
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
28 Jul 2018 10:18:33
Original commit files touched by this commit  8.1_5
Revision:475518
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>
27 Jul 2018 14:05:08
Original commit files touched by this commit  8.1_4
Revision:475441
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>
25 Jul 2018 17:28:36
Original commit files touched by this commit  8.1_3
Revision:475318
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)
02 May 2018 13:04:53
Original commit files touched by this commit  8.1_2
Revision:468827
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
17 Mar 2018 12:29:45
Original commit files touched by this commit  8.1_1
Revision:464813
pizzamig search for other commits by this committer
devel/gdb: fix a typo in the Makefile
16 Mar 2018 14:29:38
Original commit files touched by this commit  8.1_1
Revision:464688
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@
14 Mar 2018 14:33:22
Original commit files touched by this commit  8.1
Revision:464493
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
26 Jan 2018 19:57:24
Original commit files touched by this commit  8.0.1_2
Revision:460050
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
13 Oct 2017 16:31:55
Original commit files touched by this commit  8.0.1_1
Revision:452019
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
10 Oct 2017 21:31:30
Original commit files touched by this commit  8.0.1
Revision:451721
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)
29 Sep 2017 14:49:59
Original commit files touched by this commit  8.0.1
Revision:450895
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
13 Sep 2017 14:27:14
Original commit files touched by this commit  8.0_3
Revision:449795
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
10 Sep 2017 20:55:39
Original commit files touched by this commit  8.0_3
Revision:449591
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
29 Aug 2017 13:05:21
Original commit files touched by this commit  8.0_2
Revision:448911
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
23 Aug 2017 16:07:43
Original commit files touched by this commit  8.0_2
Revision:448627
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
04 Aug 2017 20:16:33
Original commit files touched by this commit  8.0_1
Revision:447377
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
28 Jul 2017 21:20:48
Original commit files touched by this commit  8.0
Revision:446852
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)
10 Jul 2017 16:58:12
Original commit files touched by this commit  7.12.1_2
Revision:445441
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
27 Jun 2017 13:46:53
Original commit files touched by this commit  7.12.1_2
Revision:444463
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
26 Jun 2017 23:44:13
Original commit files touched by this commit  7.12.1_1
Revision:444433
linimon search for other commits by this committer
Sort ARCHS.  Pet portlint.

Approved by:	portmgr (tier-2 blanket)
25 Jun 2017 00:29:09
Original commit files touched by this commit  7.12.1_1
Revision:444251
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)
08 May 2017 19:02:25
Original commit files touched by this commit  7.12.1_1
Revision:440447
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
14 Feb 2017 10:29:38
Original commit files touched by this commit  7.12.1
Revision:434072
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
16 Jan 2017 16:47:00
Original commit files touched by this commit  7.12_1
Revision:431680
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
13 Jan 2017 06:56:50
Original commit files touched by this commit  7.12_1
Revision:431343
olivier search for other commits by this committer
Fix my previous wrong commit by removing duplicate file content.
12 Jan 2017 21:40:06
Original commit files touched by this commit  7.12_1
Revision:431323
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
09 Jan 2017 13:16:50
Original commit files touched by this commit  7.12
Revision:430947
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
19 Dec 2016 12:08:09
Original commit files touched by this commit  7.12
Revision:428922
tijl search for other commits by this committer
Fix build with BUNDLED_READLINE option.

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

PR:		214927
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
23 Jul 2016 13:23:37
Original commit files touched by this commit  7.11.1_3
Revision:418964
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)
15 Jul 2016 01:10:15
Original commit files touched by this commit  7.11.1_2
Revision:418566
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
24 Jun 2016 18:51:21
Original commit files touched by this commit  7.11.1_1
Revision:417443
pawel search for other commits by this committer
Enable PYTHON option by default

PR:		210497
Submitted by:	maintainer
05 Jun 2016 12:04:34
Original commit files touched by this commit  7.11.1
Revision:416392
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
01 Jun 2016 15:35:42
Original commit files touched by this commit  7.11_2
Revision:416247
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
14 May 2016 07:50:49
Original commit files touched by this commit  7.11_2
Revision:415176
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)
27 Apr 2016 16:11:53
Original commit files touched by this commit  7.11_1
Revision:414115
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
01 Apr 2016 14:00:57
Original commit files touched by this commit  7.11
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
14 Mar 2016 16:19:35
Original commit files touched by this commit  7.11
Revision:411099
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)
06 Mar 2016 03:13:16
Original commit files touched by this commit  7.10_5
Revision:410229
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)
11 Jan 2016 17:36:13
Original commit files touched by this commit  7.10_5
Revision:405792
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
04 Dec 2015 21:52:09
Original commit files touched by this commit  7.10_4
Revision:403011
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
11 Nov 2015 13:12:03
Original commit files touched by this commit  7.10_4
Revision:401242
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
11 Nov 2015 12:06:33
Original commit files touched by this commit  7.10_4
Revision:401237
tijl search for other commits by this committer
Enable regression tests

PR:		200610
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
05 Nov 2015 18:48:47
Original commit files touched by this commit  7.10_4
Revision:400860
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)
19 Oct 2015 19:52:48
Original commit files touched by this commit  7.10_3
Revision:399717
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)
19 Oct 2015 18:02:49
Original commit files touched by this commit  7.10_2
Revision:399704
jkim search for other commits by this committer
Fix build with KGDB option.
18 Oct 2015 17:31:17
Original commit files touched by this commit  7.10_2
Revision:399623
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)
16 Oct 2015 22:43:21
Original commit files touched by this commit  7.10_1
Revision:399525
jhb search for other commits by this committer
Enable KGDB by default.

PR:		203782
Approved by:	luca.pizzamiglio@gmail.com (maintainer), koobs
06 Oct 2015 18:52:59
Original commit files touched by this commit  7.10
Revision:398712
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
18 Sep 2015 17:27:25
Original commit files touched by this commit  7.10
Revision:397259
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
04 Jun 2015 17:08:26
Original commit files touched by this commit  7.9.1
Revision:388538
tijl search for other commits by this committer
- Update to 7.9.1
- Fix crash on some core files
- Fix plist

PR:		200001, 200011, 200638
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
29 Apr 2015 13:53:46
Original commit files touched by this commit  7.9
Revision:384978
jhb search for other commits by this committer
Update to 7.9.
- Move changes that have been adopted upstream after 7.9 into extra patches
  named after the commit to GDB's master branch.  This includes previous
  patches such as the signal trampoline detection fixes and XSAVE support
  as well as well as new fixes such as fixing 'gcore' to not require procfs.
- The tui-io.c patch previously needed with new readline has been accepted
  upstream.
- The remaining patches have been updated to apply cleanly.
- The threads target has been fixed to actually pass register requests for
  LWP-backed threads down to the ptrace backends without detouring via
  libthread_db which actually fixes AVX with threads.

PR:		199451
Differential Revision:	https://reviews.freebsd.org/D2293
Approved by:	bapt, luca.pizzamiglio@gmail.com (maintainer)
18 Mar 2015 09:36:03
Original commit files touched by this commit  7.8.2_2
Revision:381531
robak search for other commits by this committer
devel/gdb: add CPE information

PR:		198175
Submitted by:	Shun <shun.fbsd.pr@dropcut.net>
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
02 Mar 2015 12:46:40
Original commit files touched by this commit  7.8.2_2
Revision:380251
ashish search for other commits by this committer
- Install missing files required for GUILE support

PR:		197512
Approved by:	Luca <luca.pizzamiglio at gmail.com> (maintainer)
18 Feb 2015 19:24:16
Original commit files touched by this commit  7.8.2_1
Revision:379311
jhb search for other commits by this committer
- Add support for XSAVE on amd64 and i386 using the recently added
  PT_GETXSTATE_INFO and XSTATE core dump sections.
- Use kern.proc.sigtramp on i386 to fix unwinding across signal
  frames.
- Change the amd64 FreeBSD ABI to return an i386 target description
  when debugging a 32-bit process.  This allows XSAVE debugging to
  work for an i386 binary on amd64.
- Rework thread patches to pull all threads-related patches out of
  the main port patches and into a single optional patch.
- Adjust the thread patches so that fbsd-threads.c passes register
  requests for LWPs down to the native target instead of calling
  ptrace directly.  This allows XSAVE to work with threads without
  any other changes.  The x86 nat.c files now pass LWP IDs to
  ptrace register operations (other platforms already did this).
  The supply/collect regset stubs are now only needed to support
  userland threads for libkse.

PR:		197501
Approved by:	maintainer, bdrewery
12 Feb 2015 15:15:04
Original commit files touched by this commit  7.8.2
Revision:378879
ashish search for other commits by this committer
- Add OPTION to enable support for GUILE

PR:		197512
Submitted by:	ashish
Approved by:	<luca.pizzamiglio at gmail.com> (maintainer)
23 Jan 2015 19:19:25
Original commit files touched by this commit  7.8.2
Revision:377758
tijl search for other commits by this committer
Update devel/gdb to version 7.8.2

PR:		197029
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
16 Dec 2014 08:56:10
Original commit files touched by this commit  7.8.1_1
Revision:374788
danfe search for other commits by this committer
- Improve wording and formatting (most notably, missing space before opening
  parenthesis) in some buggy option descriptions
- Standardize Makefile header when appropriate, drop one OPTIONS_DEFAULT=IPV6
24 Nov 2014 09:34:28
Original commit files touched by this commit  7.8.1_1
Revision:373198
tijl search for other commits by this committer
Remove obsolete patches.

PR:		195255
Submitted by:	jhb
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
14 Nov 2014 18:00:19
Original commit files touched by this commit  7.8.1
Revision:372566
tijl search for other commits by this committer
Update devel/gdb to 7.8.1

PR:		194835
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
27 Oct 2014 10:10:59
Original commit files touched by this commit  7.8_3
Revision:371544
bapt search for other commits by this committer
Cleanup plist
20 Oct 2014 16:04:14
Original commit files touched by this commit  7.8_3
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
07 Oct 2014 10:25:43
Original commit files touched by this commit  7.8_3
Revision:370292
tijl search for other commits by this committer
- Fix a buffer overflow when copying a string
- Use sysctl KERN_PROC_SIGTRAMP to retrieve the signal trampoline
  location for the native amd64 ABI.  This fixes unwinding over the
  signal frame after trampoline was moved to the shared page.
  (https://svnweb.freebsd.org/changeset/base/258663)
- Remove some gcc specific warning flags

PR:		194190
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
21 Aug 2014 18:35:52
Original commit files touched by this commit  7.8_2
Revision:365578
tijl search for other commits by this committer
On FreeBSD 9.x i386 systems, debugging applications with threads causes a
crash of gdb.

When the libthr is loaded by gdb, the thread support want to add FreeBSD
specific information to the current thread. Doing this, it cleans the
thread list and re-add the current thread with the updated information
(actually, the LWP id).
This operation call a free of the struct thread_info (clean/init the
thread list) and a malloc of the same struct (add the current thread).
The problem is that a pointer to the struct thread_info is stored in
another struct (about the execution context) and it's not updatable.

On FreeBSD 9.x i386 systems, the malloc return a new pointer; then the
execution context contains a broken pointer.
On all other platform, the malloc return the same pointer and the
execution context stays coherent.

This patch avoids to clean the thread list and to re-add the thread; it
just update thread information of the current thread.

PR:		192890
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
12 Aug 2014 15:39:59
Original commit files touched by this commit  7.8_1
Revision:364713
tijl search for other commits by this committer
Fix symbol addresses in threads

PR:		192608
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
04 Aug 2014 21:39:51
Original commit files touched by this commit  7.8
Revision:364055
pi search for other commits by this committer
devel/gdb: change explicit gmake into MAKE_CMD with all extras

Submitted by:	antoine
04 Aug 2014 20:50:49
Original commit files touched by this commit  7.8
Revision:364054
pi search for other commits by this committer
devel/gdb: 7.7.1 -> 7.8

For changes see also:
  http://www.gnu.org/software/gdb/download/ANNOUNCEMENT

PR:		192323
Submitted by:	yuri@rawbw.com
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
24 Jun 2014 22:50:59
Original commit files touched by this commit  7.7.1
Revision:359170
bapt search for other commits by this committer
Use MAKE_CMD
10 Jun 2014 11:39:29
Original commit files touched by this commit  7.7.1
Revision:357297
tijl search for other commits by this committer
- Update to version 7.7.1.
- Fix a problem on FreeBSD 10+ with converters/libiconv installed.  GDB
  could not print string variables then.

PR:		190700
Submitted by:	luca.pizzamiglio@gmail.com (maintainer)
09 Apr 2014 18:17:33
Original commit files touched by this commit  7.6.2
Revision:350732
bdrewery search for other commits by this committer
- Fix build with clang34
  This has many unused functions and variables and uses -Werror. Don't
  consider those as warnings for now.

Discussed with:	jhb
Approved by:	maintainer (they approved -no-werror, let's keep other warnings)
01 Mar 2014 22:54:47
Original commit files touched by this commit  7.6.2
Revision:346724
bdrewery search for other commits by this committer
- Fix build with devel/readline 6.3 update

Submitted by:	antoine
With hat:	portmgr
23 Jan 2014 23:48:54
Original commit files touched by this commit  7.6.2
Revision:340871
nemysis search for other commits by this committer
- Update to 7.6.2
- Change CONFIGURE_ARGS
- Reordering Options
- Use the new format for LIB_DEPENDS
- Break lines around 80 characters

PR:		ports/184796
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
13 Jan 2014 21:00:04
Original commit files touched by this commit  7.6.1_1
Revision:339634
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
01 Dec 2013 12:32:13
Original commit files touched by this commit  7.6.1_1
Revision:335377
wg search for other commits by this committer
devel/gdb: fix build with gcc 4.8

PR:		ports/184119
Submitted by:	maintainer
18 Nov 2013 03:39:10
Original commit files touched by this commit  7.6.1_1
Revision:334142
danilo search for other commits by this committer
- Bump PORTREVISION once the search path of some files changed
18 Nov 2013 03:35:31
Original commit files touched by this commit  7.6.1
Revision:334141
danilo search for other commits by this committer
- Fix the search path of python files

PR:		ports/184008
Reported by:	Jean-Paul Calderone <jean-paul@hybridcluster.com>
Reviewed by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
21 Oct 2013 16:36:15
Original commit files touched by this commit  7.6.1
Revision:331155
danilo search for other commits by this committer
- Add a patch I forgot in ports/183048

Reported by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
21 Oct 2013 13:33:44
Original commit files touched by this commit  7.6.1
Revision:331139
danilo search for other commits by this committer
- Remove absolute path from symlink

Reported by:	danfe
21 Oct 2013 13:05:52
Original commit files touched by this commit  7.6.1
Revision:331135
danilo search for other commits by this committer
- Fix symlink

Reported by:	antoine
17 Oct 2013 17:59:37
Original commit files touched by this commit  7.6.1
Revision:330660
danilo search for other commits by this committer
- Add stage support
- Use options helpers
- Fix a problem when PYTHON and BUNDLED_READLINE options are active

PR:		ports/183048
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
26 Sep 2013 17:05:04
Original commit files touched by this commit  7.6.1
Revision:328393
tabthorpe search for other commits by this committer
- Remove commented out line

Noticed by:	sunpoet@
26 Sep 2013 02:30:22
Original commit files touched by this commit  7.6.1
Revision:328329
tabthorpe search for other commits by this committer
- Update to 7.6.1

PR:		ports/181801
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
20 Sep 2013 17:04:44
Original commit files touched by this commit  7.6
Revision:327723
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2)
04 Sep 2013 20:01:06
Original commit files touched by this commit  7.6
Revision:326316
bsam search for other commits by this committer
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)

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

1 | 2  »  

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
zncJun 22
firefoxJun 21
firefox-esrJun 21
thunderbirdJun 21
thunderbirdJun 21
firefox*Jun 20
firefox-esr*Jun 20
vlcJun 20
vlcJun 20
waterfox*Jun 20
ImageMagick6*Jun 17
ImageMagick6-nox11*Jun 17
ImageMagick7*Jun 17
ImageMagick7-nox11*Jun 17
GraphicsMagickJun 16

16 vulnerabilities affecting 123 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-22 13:48:42


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36730
Broken 86
Deprecated 122
Ignore 308
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 32
Expired 14
Set to expire 92
Interactive 0
new 24 hours 4
new 48 hours7
new 7 days31
new fortnight65
new month160

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.