Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
15.1 24 Sep 2024 16:08:56 |
John Baldwin (jhb) |
devel/gdb: Upgrade to 15.1
This includes an update to the bundled libc++ pretty printers with
fixes for recent changes in libc++ to std::string and std::unordered_map.
PR: 272922
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D46232 |
14.1_2 03 Mar 2024 09:44:21 |
Tijl Coosemans (tijl) Author: Kenji Takefu |
devel/gmake: Update to 4.4.1
Some ports required patches.
PR: 272216
Exp-run by: antoine |
14.1_2 13 Feb 2024 14:44:22 |
Dima Panov (fluffy) |
devel/boost: bump consumers after library update |
14.1_1 03 Feb 2024 06:31:40 |
Gleb Popov (arrowd) |
devel/gdb: Point to LOCALBASE/lib/debug dir for the debugging symbols. |
14.1 18 Jan 2024 22:18:49 |
John Baldwin (jhb) |
devel/gdb: Upgrade to 14.1
- Notable upstream fixes for FreeBSD include better support for
multiprocessing as well as support for AVX and other extended
registers in core dumps on newer AMD CPUs.
- Use all-gdb as the build target to reduce build time.
- sim can no longer be excluded during the tarball as a couple of
source files in GDB now use headers from sim/ unconditionally.
Instead, use --disable-sim to skip building the simulators.
Reviewed by: pizzamig
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D43053 |
13.2_2 10 Jan 2024 08:16:01 |
Baptiste Daroussin (bapt) |
MAN?PREFIX: eleminate its usage and move man to share/man |
13.2_1 27 Sep 2023 14:36:30 |
Dima Panov (fluffy) |
devel/boost*: bump all consumers after 1.83.0 |
13.2 15 Sep 2023 15:08:50 |
Luca Pizzamiglio (pizzamig) |
devel/gdb: Fix variable description
PR: 273830
Reported by: Trond Endrestøl <Trond.Endrestol@ximalas.info> |
13.2 15 Sep 2023 11:12:17 |
Luca Pizzamiglio (pizzamig) |
devel/gdb: Update to 13.2
Add DEBUGINFOD support as option
Improve system-zlib option |
13.1_5 13 Sep 2023 15:34:26 |
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)
MFH: 2023Q3 |
13.1_4 05 Sep 2023 18:23:36 |
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)
MFH: 2023Q3
Differential Revision: https://reviews.freebsd.org/D41684 |
13.1_3 05 Sep 2023 18:16:32 |
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)
MFH: 2023Q3
Differential Revision: https://reviews.freebsd.org/D39951 |
13.1_3 30 Jul 2023 22:59:04 |
Robert Clausecker (fuz) Author: Andrew "RhodiumToad" Gierth |
*/*: adapt to new guile framework
- change all ports using guile to USES=guile
- flavorize guile-lib, guile-cairo, slib-guile
PR: 260960
Reported by: Martin Neubauer <m.ne@gmx.net>
Approved by: bofh
Differential Revision: https://reviews.freebsd.org/D40194 |
13.1_2 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
13.1_2 07 May 2023 18:38:47 |
Dimitry Andric (dim) |
devel/gdb: fix build with clang 16
Clang 16 has a new error about integer values being outside the valid
range for enum types, which shows up when building gdb:
In file included from
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/x86-fbsd-nat.c:20:
In file included from
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65:
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52:
error: integer value -1 is outside the valid range of values [0, 15] for this
enumeration type [-Wenum-constexpr-conversion]
integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
^
In file included from
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/x86-bsd-nat.c:20:
In file included from
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65:
/wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52:
error: integer value -1 is outside the valid range of values [0, 15] for this
enumeration type [-Wenum-constexpr-conversion]
integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
^ (Only the first 15 lines of the commit message are shown above ) |
13.1_1 27 Apr 2023 18:25:55 |
Dima Panov (fluffy) |
*/*: bump all direct Boost cunsumers |
13.1 17 Mar 2023 23:48:03 |
John Baldwin (jhb) |
devel/gdb: Remove the EXPAT option.
GDB on FreeBSD requires libxml for full funtionality (e.g. 'catch
syscall <syscall name>' parses the XML files installed in
LOCALBASE/share that were still installed even when this option was
disabled). Also, using GDB with a debug server that returns any
non-simple registers requires XML support for parsing the target
description returned by the server (e.g. examining SSE or later
registers or any system registers when attached to QEMU or
lldb-server).
Reviewed by: pizzamig (maintainer), danfe
Differential Revision: https://reviews.freebsd.org/D38760 |
13.1 17 Mar 2023 23:47:46 |
John Baldwin (jhb) |
devel/gdb: Upgrade to 13.1.
Reviewed by: pizzamig (maintainer)
Differential Revision: https://reviews.freebsd.org/D38759 |
12.1_3 16 Jan 2023 19:32:07 |
Dima Panov (fluffy) |
*/*: bump libboost*.so libraries consumert after Boost upgrade |
12.1_2 18 Nov 2022 16:08:34 |
Alexey Dokuchaev (danfe) |
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 |
Alexey Dokuchaev (danfe) |
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 |
Luca Pizzamiglio (pizzamig) |
devel/gdb: Fix support to readline 8.2
While here, half fix a warning in kgdb |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
12.1_1 12 Aug 2022 14:46:53 |
Dima Panov (fluffy) |
*/*: bump all consumers after recent boost upgrade |
12.1 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
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 ) |
12.1 30 May 2022 23:24:21 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
Luca Pizzamiglio (pizzamig) |
devel/gdb: Update to 11.2
Changes: https://sourceware.org/gdb/download/ANNOUNCEMENT |
11.1_2 06 Dec 2021 21:38:04 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
Luca Pizzamiglio (pizzamig) |
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 |
Tobias Kortkamp (tobik) Author: Yasuhiro Kimura |
*: Remove unnecessary 'port' argument from USES=readline
PR: 248459
Exp-run by: antoine |
10.2 09 May 2021 20:53:14 |
Luca Pizzamiglio (pizzamig) |
devel/gdb: Update to 10.2
While here, fixed the guile patches |
10.1_1 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
10.1_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
10.1_1 08 Jan 2021 20:14:49 |
jhb |
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 |
pizzamig |
Update COMMENT
PR: 250655
Submitted by: Yasuhiro Kimura <yasu@utahime.org> |
10.1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
10.1 07 Dec 2020 20:39:03 |
jhb |
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 |
pizzamig |
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 |
pizzamig |
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 |
pizzamig |
devel/gdb: remove gnu89 requirement
Bump portrevision
PR: 246689
Reported by: VVD <vvd@unislabs.com> |
9.2 05 Jun 2020 17:36:18 |
pizzamig |
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 |
pizzamig |
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 |
jhb |
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 |
jhb |
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 |
pizzamig |
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 |
gerald |
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 |
danfe |
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 |
glebius |
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 |
jhb |
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 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
8.2.1_2 09 Apr 2019 14:04:50 |
sunpoet |
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 |
gahr |
devel/gdb: fix package error w/o python introduced in r493008 |
8.2.1_1 15 Feb 2019 18:44:48 |
jhb |
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 |
pizzamig |
devel/gdb: update to 8.2.1
Changes: https://www.gnu.org/software/gdb/news |
8.2_3 15 Jan 2019 01:42:19 |
jhb |
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 |
jhb |
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 |
gerald |
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 |
antoine |
Spell CHOSEN_COMPILER_TYPE correctly
PR: 199098
With hat: portmgr |
8.2_2 10 Dec 2018 17:23:19 |
jhb |
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 |
jhb |
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 |
pizzamig |
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 |
jhb |
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 |
pizzamig |
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 |
pizzamig |
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 |
pizzamig |
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 |
jhb |
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 ) |
8.1_2 02 May 2018 13:04:53 |
pizzamig |
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 |
pizzamig |
devel/gdb: fix a typo in the Makefile |
8.1_1 16 Mar 2018 14:29:38 |
pizzamig |
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 |
pizzamig |
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 |
jhb |
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 |
jhb |
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 |
linimon |
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 |
pizzamig |
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 |
pizzamig |
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 |
gerald |
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 |
pizzamig |
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 |
jhb |
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 |
jhb |
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 |
jhb |
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 ) |
7.12.1_2 10 Jul 2017 16:58:12 |
jhb |
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 |
sunpoet |
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 |
linimon |
Sort ARCHS. Pet portlint.
Approved by: portmgr (tier-2 blanket) |
7.12.1_1 25 Jun 2017 00:29:09 |
linimon |
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 |
jhb |
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 |
olivier |
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 |
mat |
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 |
olivier |
Fix my previous wrong commit by removing duplicate file content. |
7.12_1 12 Jan 2017 21:40:06 |
olivier |
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 |
amdmi3 |
- 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 |
tijl |
Fix build with BUNDLED_READLINE option.
Reported by: gahr |
7.12 18 Dec 2016 16:08:14 |
tijl |
Update to 7.12.
PR: 214927
Submitted by: luca.pizzamiglio@gmail.com (maintainer) |
7.11.1_3 23 Jul 2016 13:23:37 |
jhb |
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 |
jhb |
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 |
pawel |
Enable PYTHON option by default
PR: 210497
Submitted by: maintainer |