Port details on branch 2023Q3 |
- gdb GNU Project Debugger
- 13.1_4 devel
=0 13.1_4Version of this port present on the latest quarterly branch. - Maintainer: pizzamig@FreeBSD.org
 - Port Added: 2023-09-05 19:21:05
- Last Update: 2023-09-13 19:36:08
- Commit Hash: e9b334d
- License: GPLv3
- WWW:
- https://www.gnu.org/software/gdb/
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- 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>)
- distinfo:
- TIMESTAMP = 1677188925
SHA256 (gdb-13.1.tar.xz) = 115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0
SIZE (gdb-13.1.tar.xz) = 23665472
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- makeinfo : print/texinfo
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Test dependencies:
-
- runtest : misc/dejagnu
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- Library dependencies:
-
- libexpat.so : textproc/expat2
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- libzstd.so : archivers/zstd
- libsource-highlight.so : textproc/source-highlight
- libxxhash.so : devel/xxhash
- libintl.so : devel/gettext-runtime
- libiconv.so : converters/libiconv
- libreadline.so.8 : devel/readline
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for gdb-13.1_4:
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: Syntax highlighting support
TUI=on: Text User Interface support
XXHASH=on: Use xxHash for hashing (faster)
====> 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
- Options name:
- devel_gdb
- USES:
- compiler:c++11-lang cpe gmake libtool makeinfo pkgconfig tar:xz gettext-runtime iconv:wchar_t readline python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
13.1_4 13 Sep 2023 19:36:08
    |
Kyle Evans (kevans)  |
devel/gdb: kgdb: fix aarch64 trapframe handling
regcache_map_entry_size() doesn't do the magic to convert size == 0 to
register_size, so we must supply sizes for all registers if we're going
to use it.
This fixes handling of the trapframe so that we can actually unwind
properly, where-as before we would end up with, e.g.,
#6 0xffff0000004b4860 in kdb_trap (type=60, code=0, tf=<optimized out>)
at /usr/src/sys/kern/subr_kdb.c:790
#7 <signal handler called>
#8 <signal handler called>
#9 <signal handler called>
#10 <signal handler called>
#11 <signal handler called>
Reported by: Mark Millard
Approved by: jhb (implicit, kgdb maintainer)
(cherry picked from commit a22f1db084fb50880a0df90f9a0f031a7fc34921) |
13.1_3 05 Sep 2023 19:20:33
    |
Kyle Evans (kevans)  |
devel/gdb: kgdb: fixup aarch64 pcb/trapframe layout
base 1c1f31a5e5 and 2ecbbcc7cab altered the pcb and trapframe layouts in
osreldate 1400084. This version of the patch is effectively extracted
from work done by @jhb in CheriBSD's gdb fork, then ported forward to
work with the gdb 13.x program_space_data equivalent. With
this + D39951, I can again get a solid backtrace in recent main.
While we're here, remove some special handling for kthreads not yet run,
as the stack pointer is in-fact stored in pcb_sp in cpu_copy_thread and
cpu_fork. This silences the following exception:
Python Exception <class 'gdb.error'>: Register 2 is not available
but there's not really any effect on the end result, since the thread
hasn't been scheduled yet.
Reviewed by: jhb
Approved by: jhb (maintainer)
(cherry picked from commit 5dd228e81c1bcb49e0a7c5eca3927df24a607a15) |
13.1_2 05 Sep 2023 19:20:27
    |
Kyle Evans (kevans)  Author: Mark Jonhston |
devel/gdb: kgdb: Handle stoppcbs compat
Use __FreeBSD_version to decide whether to dereference the stoppcbs
symbol. PORTREVISION will be bumped as part of the next commit, which
fixes another KBI breakage.
Reviewed by: jhb, kevans
Approved by: jhb (maintainer)
(cherry picked from commit 7e2852846872215c7d7ad36d9ea15d593bbf343e) |
Number of commits found: 3
|