FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
gdb 7.8_2 devel on this many watch lists=4 search for ports that depend on this port
GNU GDB of newer version than comes with the system
Maintained by: luca.pizzamiglio@gmail.com search for ports maintained by this maintainer
Port Added: 16 Nov 2010 20:41:14
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 : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. devel/gmake
Required Libraries:
  1. converters/libiconv
  2. 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...

To install the port: cd /usr/ports/devel/gdb/ && make install clean
To add the package: pkg install devel/gdb


Configuration Options
===> The following configuration options are available for gdb-7.8_2:
     DEBUG=off: Build with debugging support
     EXPAT=off: XML parser support via Expat
     GDB_LINK=on: Create the gdb link
     PYTHON=off: Python bindings or support
     THREADS=on: Threading support
     TUI=on: Text User Interface enabled
====> Command line editing via libreadline: you have to select exactly one of them
     BASE_READLINE=off: from base system(EXPERIMENTAL)
     BUNDLED_READLINE=off: from gdb distfile
     PORT_READLINE=on: from devel/readline port
===> Use 'make config' to modify these settings

Master Sites:
  1. ftp://ftp.dti.ad.jp/pub/GNU/gdb/
  2. ftp://ftp.gnu.org/gnu/gdb/
  3. ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/gdb/
  4. ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/gdb/
  5. ftp://ftp.kddlabs.co.jp/GNU/gdb/
  6. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/gdb/
  7. http://distcache.FreeBSD.org/ports-distfiles/
  8. http://ftp.funet.fi/pub/gnu/prep/gdb/
  9. http://ftp.gnu.org/gnu/gdb/
  10. http://mirrors.kernel.org/gnu/gdb/
  11. http://ring.nict.go.jp/archives/GNU/gdb/
  12. http://www.gtlib.gatech.edu/pub/gnu/gnu/gdb/

Number of commits found: 56

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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)
01 Sep 2013 22:31:44
Original commit files touched by this commit  7.6
Revision:325922
rakuco search for other commits by this committer
Enable PowerPC support.

The latest gdb, 7.6, brings native PowerPC FreeBSD support. We just need
enable it in ports.

There is a minor glitch which needs patching gdb itself. Namely,
ALL_TARGET_OBJ is missing ppcfbsd-tdep.o. This part is already sent
upstream.

PR:		ports/178784
Submitted by:	andreast
Approved by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
06 Jul 2013 12:07:36
Original commit files touched by this commit  7.6
Revision:322388
tijl search for other commits by this committer
Problems with inline and clang are because clang defaults to C99.
By adding USE_CSTD=gnu89 patch-include-cgen-basic-ops.h can be removed.

PR:		180257
Approved by:	luca.pizzamiglio@gmail.com (maintainer)
16 May 2013 17:07:14
Original commit files touched by this commit  7.6
Revision:318323
rakuco search for other commits by this committer
Update to 7.6.

PR:		ports/178257
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
06 May 2013 15:34:18
Original commit files touched by this commit  7.5.1_1
Revision:317525
bapt search for other commits by this committer
Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
29 Apr 2013 08:57:13
Original commit files touched by this commit  7.5.1_1
Revision:316786
bapt search for other commits by this committer
Rely on bsdtar to autodetermine the format of the distfiles when possible

For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
27 Apr 2013 08:50:47
Original commit files touched by this commit  7.5.1_1
Revision:316654
mva search for other commits by this committer
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
13 Mar 2013 16:15:49
Original commit files touched by this commit  7.5.1_1
Revision:314093
pawel search for other commits by this committer
- Add option to disable TUI
- Correct enabling of all targets, add patches to fix new
  clang build issues raised by this change
- Fix WWW: line

PR:		ports/176103
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
24 Dec 2012 22:26:50
Original commit files touched by this commit  7.5.1
Revision:309466
rene search for other commits by this committer
Improve/fix build with clang.

PR:		ports/174568
Submitted by:	maintainer
16 Dec 2012 16:47:02
Original commit files touched by this commit  7.5.1
Revision:309029
bdrewery search for other commits by this committer
- Update to 7.5.1
- Trim header

PR:		ports/174431
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
28 Oct 2012 21:50:34
Original commit files touched by this commit  7.5_1
Revision:306581
rakuco search for other commits by this committer
- Show thread names, closing ports/172572. Thanks to Mark Lokowich.
- It is now possible to choose which readline version to use, closing
  ports/172077. Thanks to Jan Beich.
- Fix patches to remove compilation warnings.
- Clean configure arguments to remove a compilation warning.
- Fix file permissions when the PYTHON option is enabled.
- Trim Makefile header.

PR:		ports/172828
Submitted by:	Luca Pizzammiglio <luca.pizzamiglio@gmail.com> (maintainer)
Feature safe:	yes
09 Sep 2012 13:56:00
Original commit files touched by this commit  7.5_1
Revision:303967
bdrewery search for other commits by this committer
- Switch readline lib dependency to USE_READLINE
  to ensure the port version is always used. This
  also makes portlint happy and still does the right
  thing.

PR:		ports/171325
Submitted by:	bdrewery
Approved by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
Approved by:	eadler (mentor)
27 Aug 2012 16:10:54
Original commit files touched by this commit  7.5_1
kwm search for other commits by this committer
Don't allow files to be extracted with 0666 permissions.
Readd a patch that fixes thread support
Correct configure test so it detects r_fs and r_gs fields of struct reg.
  This fixes thread support on i386 10-current.
Fix a segmentation fault on the amd64 architecture

PR:		ports/171109 [2], ports/171086 [1]
Reported by:	Arrowdodger <6yearold@gmail.com> [2]
Submitted by:	maintainer [2], Tijl Coosemans <tijl@coosemans.org> [1]
24 Aug 2012 02:54:50
Original commit files touched by this commit  7.5
bdrewery search for other commits by this committer
- Update to 7.5
- Remove patches integrated upstream

PR:		ports/170913
Submitted by:	Luca Pizzammiglio <luca.pizzamiglio@gmail.com> (maintainer)
Approved by:	eadler (mentor)
09 Aug 2012 16:47:33
Original commit files touched by this commit  7.4.1_4
bdrewery search for other commits by this committer
- Restore readline.6 library dependency as the port only
  works with that shlib version.

PR:		ports/170429
Submitted by:	Yuri Pankov <yuri.pankov@gmail.com>
Approved by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com (maintainer)
Approved by:	eadler (mentor)
03 Aug 2012 02:00:58
Original commit files touched by this commit  7.4.1_4
wxs search for other commits by this committer
Clarify a comment and incorporate a couple of patches.

PR:		ports/170321
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
27 Jul 2012 07:05:23
Original commit files touched by this commit  7.4.1_3
scheidell search for other commits by this committer
- Split THREADS patches to better support GNU binutils

PR:		ports/169662
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
26 Jun 2012 19:27:41
Original commit files touched by this commit  7.4.1_2
sunpoet search for other commits by this committer
- Fix THREADS handling
- Fix typos
- While I'm here:
  - Use GNU macro for MASTER_SITES
  - Remove DISTFILES
  - Pet portlint: remove ABI version number from LIB_DEPENDS
- Bump PORTREVISION for package change

PR:             ports/169448
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
23 Jun 2012 09:12:05
Original commit files touched by this commit  7.4.1_1
scheidell search for other commits by this committer
- Fix Segfault [1]
- Update to OptionsNG [2]

PR:             ports/168444 [1]
PR:             ports/169265 [2]
Reported by:    bgmoser@codexterous.com [1]
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
01 May 2012 15:53:46
Original commit files touched by this commit  7.4.1
sunpoet search for other commits by this committer
- Update to 7.4.1
- Fix build with clang

Changes:        http://www.gnu.org/software/gdb/download/ANNOUNCEMENT
PR:             ports/167448
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
19 Apr 2012 19:05:03
Original commit files touched by this commit  7.4_4
pawel search for other commits by this committer
Fix GDB_LINK option

PR:             ports/167049
Submitted by:   Tijl Coosemans <tijl@coosemans.org>
Approved by:    maintainer
01 Apr 2012 16:13:10
Original commit files touched by this commit  7.4_3
romain search for other commits by this committer
Create ${PREFIX}/bin/gdb link when installing from a packages with GDB_LINK
enabled.

PR:             ports/166082
Submitted by:   romain (myself)
Approved by:    Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (Maintainer)
Feature safe:   yes
09 Mar 2012 17:03:28
Original commit files touched by this commit  7.4_2
jhb search for other commits by this committer
- Install the python bindings when python is enabled.
- Bump portrevision to 2.

Reviewed by:    Luca Pizzamiglio (maintainer)
Feature safe:   yes
25 Feb 2012 11:57:56
Original commit files touched by this commit  7.4_1
scheidell search for other commits by this committer
- Adds HW watchpoint support for amd64, closing ports/160930 (thanks to Ben
Morrow)
- Adds a symbolic link executable with the version suffix to support tools
without debugger configuration (like devel/nemiver)
- Bump PORTREVISION due to track changes to options and pkg-plist

PR:             ports/165357
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
Approved by:    gabor (mentor, implicit)
27 Jan 2012 09:38:15
Original commit files touched by this commit  7.4
scheidell search for other commits by this committer
- update to version 7.4
- adds devel/readline as mandatory dependency (the previous version is not
compatible anymore)
- fixes a problem with multihread applications (thanks Lee Thomas)
- fixes a misconfiguration issue if the devel/binutils port is installed

PR:             ports/164521
Submitted by:   maintainer
Approved by:    gabor (mentor, implicit)
18 Nov 2011 06:34:51
Original commit files touched by this commit  7.3.1_1
sunpoet search for other commits by this committer
- Add OPTIONS: THREAD for optional thread support (default on)
- Change comment to match current version

PR:             ports/162641
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
Feature safe:   yes
06 Nov 2011 18:12:32
Original commit files touched by this commit  7.3.1_1
ohauer search for other commits by this committer
- fix segfault if debugging a multithread application
- bump PORTREVISION
- small portlint fixes

PR:             ports/162093
Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
25 Oct 2011 16:11:23
Original commit files touched by this commit  7.3.1
skreuzer search for other commits by this committer
Change MAINTAINER to luca.pizzamiglio@gmail.com
26 Sep 2011 13:53:11
Original commit files touched by this commit  7.3.1
skreuzer search for other commits by this committer
Update to 7.3.1

Submitted by:   rdivacky@
23 Sep 2011 22:26:39
Original commit files touched by this commit  7.2_4
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
25 Feb 2011 07:50:41
Original commit files touched by this commit  7.2_4
miwi search for other commits by this committer
- Move from py24 over to py25 or above
- Drop md5 support
11 Jan 2011 20:52:28
Original commit files touched by this commit  7.2_3
jhb search for other commits by this committer
Add two new options to enable expat and Python support.  Both are
currently disabled by default.  If Python support is enabled, then gdb
is able to use the pretty printer python libraries supplied with newer
versions of gcc to pretty print STL containers.

Reviewed by:    skreuzer
Feature safe:   yes
05 Jan 2011 23:00:31
Original commit files touched by this commit  7.2_2
skreuzer search for other commits by this committer
Add WITH_DEBUG to build with debugging symbols

Fix a bug on amd64 where we would recurse infinitely on the stack frame
when parsing a signal frame

Submitted by:   jhb@
05 Jan 2011 19:11:02
Original commit files touched by this commit  7.2
skreuzer search for other commits by this committer
Update to 7.2
20 Dec 2010 18:29:44
Original commit files touched by this commit  7.1_1
skreuzer search for other commits by this committer
Put ${LOCALBASE}/include at the end of the include path to prevent headers in
${LOCALBASE} from overriding internal gdb headers if devel/readline is installed

Submitted by:   jhb@
16 Nov 2010 20:39:48
Original commit files touched by this commit  7.1
skreuzer search for other commits by this committer
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.

This version of gdb has been modified by jhb@ to recognize freebsd threads

Reviewed by:    John Baldwin <jhb@FreeBSD.org>, swell.k@gmail.com

Number of commits found: 56

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Sep 18
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03

8 vulnerabilities affecting 19 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24062
Broken 118
Deprecated 54
Ignore 370
Forbidden 4
Restricted 203
No CDROM 94
Vulnerable 21
Expired 6
Set to expire 49
Interactive 0
new 24 hours 5
new 48 hours6
new 7 days35
new fortnight70
new month231

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