summaryrefslogtreecommitdiff
path: root/devel/gdb
AgeCommit message (Collapse)AuthorFilesLines
2018-08-22Recursive bump for perl5-5.28.0wiz1-1/+2
2018-07-03extend PYTHON_VERSIONS_ for Python 3.7adam1-2/+2
2018-01-31gdb: update to 8.1.maya9-95/+17
local changes: use plist var for gcore. XXX don't install gcore.1 that doesn't appear to be installed but exists remove merged patches. GDB 8.1 includes the following changes and enhancements: * Breakpoints on C++ functions are now set on all scopes by default ("wild" matching); * Support for inserting breakpoints on functions marked with C++ ABI tags; * Target floating-point arithmetic emulation during expression evaluation (requires MPFR 3.1 or later); * Various Python Scripting enhancements; * Improved Rust support; in particular, Trait objects can now be inspected when debugging Rust code; * GDB no longer makes assumptions about the type of symbols without debugging information to avoid producing erroneous and often confusing results; * The 'enable' and 'disable' commands now accept a range of breakpoint locations; * New 'starti' command to start the program at the first instruction; * New 'rbreak' command to insert a number of breakpoints via a regular expression pattern (requires Python); * The 'ptype' command now supports printing the offset and size of the fields in a struct; * The 'gcore' command now supports dumping all the memory mappings ('-a' command-line option); * New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti; * GDBserver enhancements: ** Support for transmitting environment variables to GDBserver; ** Support for starting inferior processes with a specified initial working directory; ** On Unix systems, support for globbing expansion and variable substitution of inferior command-line arguments; * Various completion enhancements; * The command used to compile and inject code with the 'compile' command is now configurable; * New '--readnever' command-line option to speed the GDB startup when debugging information is not needed; * Support for the following new native configurations: ** FreeBSD/aarch64 (aarch64*-*-freebsd*); ** FreeBSD/arm (arm*-*-freebsd*); * Support for the following new targets: ** FreeBSD/aarch64 (aarch64*-*-freebsd*); ** FreeBSD/arm (arm*-*-freebsd*); ** OpenRISC ELF (or1k*-*-elf) * Removed support for the following targets and native configurations: ** Solaris2/x86 (i?86-*-solaris2.[0-9]); ** Solaris2/sparc (sparc*-*-solaris2.[0-9]); For a complete list and more details on each item, please see the gdb/NEWS file, available at: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-8.1-release
2018-01-01Sort PLIST files.rillig1-2/+2
Unsorted entries in PLIST files have generated a pkglint warning for at least 12 years. Somewhat more recently, pkglint has learned to sort PLIST files automatically. Since pkglint 5.4.23, the sorting is only done in obvious, simple cases. These have been applied by running: pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2017-09-07gdb: Upgrade to 8.0.1kamil2-8/+14
pkgsrc specific changes ----------------------- Set on NetBSD debug-dir to locale properly debug info of the base softwate: --with-separate-debug-dir=/usr/lib/debug Disable globally binutils, gprof, gold, gas, ld. These packages are shipped separately in other packages. Upstream changelog ================== GDB 8.0.1 brings the following fixes and enhancements over GDB 8.0: * PR breakpoint/21886 (Compressed MIPS code debugging impossible due to memory breakpoint misplacement) * PR symtab/22002 (Assertion on debuggee built with -gdwarf-5 -fdebug-types-section) * PR symtab/22003 (Incompatibility with -gdwarf-5 - DW_FORM_implicit_const) * PR gdb/22046 (Regression on older kernels for T (stopped) processes) * PR sim/20863 (gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD) * PR breakpoint/21555 ("error re-setting breakpoint" on PIE executables) * PR tdep/21717 ("print $fpscr" says "<unavailable>" until some VFP data register is printed) * PR exp/21827 (Regression: gdb command lookup became case-sensitive; but definitions are forced into lowercase) * PR remote/22021 (Multi-arch exec fails with a remote target)
2017-06-23Correct gdb build failure on NetBSD 8.99.1kamil2-3/+13
Address <sys/user.h> removal fallout.
2017-06-05gdb: update to 8.0maya8-93/+62
GDB 8.0 brings the following fixes and improvements, including: * C++: Support for rvalue references * Python scripting enhancements: ** New functions to start, stop and access a running btrace recording. ** Rvalue reference support in gdb.Type. * GDB commands interpreter: ** User commands now accept an unlimited number of arguments. ** The "eval" command now expands user-defined arguments. * DWARF version 5 support (note that its .debug_names index is not supported yet). * GDB/MI enhancements: ** New -file-list-shared-libraries command to list the shared libraries in the program. ** New -target-flash-erase command, to erase flash memory. * Support for native FreeBSD/mips (mips*-*-freebsd) * Support for the following targets: ** Synopsys ARC (arc*-*-elf32) ** FreeBSD/mips (mips*-*-freebsd) * Miscellaneous enhancements: ** Command-line redirection now supported on MS-Windows hosts. ** Support for thread names on MS-Windows. ** Support for the PKU register on GNU/Linux. ** Support for Target descriptions on sparc32 and sparc64. ** New GDB/CLI command to erase flash memory ** rdrand and rdseed instructions record/replay support. Support for the following features have been removed: * Support for Java programs compiled with gcj * Support for the following configurations: ** FreeBSD/alpha (alpha*-*-freebsd*) ** GNU/kFreeBSD/alpha (alpha*-*-kfreebsd*-gnu) For a complete list and more details on each item, please see the gdb/NEWS file.
2017-04-20gdb; Add missing linux PLIST entries.maya1-1/+4
From Dr. Thomas Orgis via tech-pkg
2017-02-28Use the infrastructure's idea of where depcomp is.joerg1-2/+2
2017-02-18Prepare gdb/amd64bsd-nat.c for Debug Registers (watchpoints) on NetBSDkamil2-1/+17
Define DBREG_DRX when it's undefined to: #define DBREG_DRX(d,x) ((d)->dr[(x)]) This has been copied from FreeBSD: /usr/include/x86/reg.h:#define DBREG_DRX(d,x) ((d)->dr[(x)]) No functional change for existing operating systems. Sponsored by <The NetBSD Foundation>
2017-01-01Add python-3.6 to incompatible versions.wiz1-2/+2
2016-07-09Remove python33: adapt all packages that refer to it.wiz1-2/+2
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-2/+2
2016-04-14Conclude the previous fix by not installing bfd.info either. Makesfhajny4-9/+16
package co-exist finally with devel/binutils. Bump PKGREVISION.
2016-04-06Do not install libbfd and libopcodes. The objects are used in thefhajny8-72/+30
build, but not linked at runtime. Fixes PLIST conflict with devel/binutils and subsequently makes pbulk on (at least) SunOS happy. This follows what e.g. ports and homebrew already do. Remove a leftover patch file while at it. Bump PKGREVISION. In-freeze, OK by wiz.
2016-03-05Update to 7.11ryoon2-8/+14
Changelog: *** Changes in GDB 7.11 * GDB now supports debugging kernel-based threads on FreeBSD. * Per-inferior thread numbers Thread numbers are now per inferior instead of global. If you're debugging multiple inferiors, GDB displays thread IDs using a qualified INF_NUM.THR_NUM form. For example: (gdb) info threads Id Target Id Frame 1.1 Thread 0x7ffff7fc2740 (LWP 8155) (running) 1.2 Thread 0x7ffff7fc1700 (LWP 8168) (running) * 2.1 Thread 0x7ffff7fc2740 (LWP 8157) (running) 2.2 Thread 0x7ffff7fc1700 (LWP 8190) (running) As consequence, thread numbers as visible in the $_thread convenience variable and in Python's InferiorThread.num attribute are no longer unique between inferiors. GDB now maintains a second thread ID per thread, referred to as the global thread ID, which is the new equivalent of thread numbers in previous releases. See also $_gthread below. For backwards compatibility, MI's thread IDs always refer to global IDs. * Commands that accept thread IDs now accept the qualified INF_NUM.THR_NUM form as well. For example: (gdb) thread 2.1 [Switching to thread 2.1 (Thread 0x7ffff7fc2740 (LWP 8157))] (running) (gdb) * In commands that accept a list of thread IDs, you can now refer to all threads of an inferior using a star wildcard. GDB accepts "INF_NUM.*", to refer to all threads of inferior INF_NUM, and "*" to refer to all threads of the current inferior. For example, "info threads 2.*". * You can use "info threads -gid" to display the global thread ID of all threads. * The new convenience variable $_gthread holds the global number of the current thread. * The new convenience variable $_inferior holds the number of the current inferior. * GDB now displays the ID and name of the thread that hit a breakpoint or received a signal, if your program is multi-threaded. For example: Thread 3 "bar" hit Breakpoint 1 at 0x40087a: file program.c, line 20. Thread 1 "main" received signal SIGINT, Interrupt. * Record btrace now supports non-stop mode. * Support for tracepoints on aarch64-linux was added in GDBserver. * The 'record instruction-history' command now indicates speculative execution when using the Intel Processor Trace recording format. * GDB now allows users to specify explicit locations, bypassing the linespec parser. This feature is also available to GDB/MI clients. * Multi-architecture debugging is supported on AArch64 GNU/Linux. GDB now is able to debug both AArch64 applications and ARM applications at the same time. * Support for fast tracepoints on aarch64-linux was added in GDBserver, including JIT compiling fast tracepoint's conditional expression bytecode into native code. * GDB now supports displaced stepping on AArch64 GNU/Linux. * "info threads", "info inferiors", "info display", "info checkpoints" and "maint info program-spaces" now list the corresponding items in ascending ID order, for consistency with all other "info" commands. * In Ada, the overloads selection menu has been enhanced to display the parameter types and the return types for the matching overloaded subprograms. * New commands maint set target-non-stop (on|off|auto) maint show target-non-stop Control whether GDB targets always operate in non-stop mode even if "set non-stop" is "off". The default is "auto", meaning non-stop mode is enabled if supported by the target. maint set bfd-sharing maint show bfd-sharing Control the reuse of bfd objects. set debug bfd-cache show debug bfd-cache Control display of debugging info regarding bfd caching. set debug fbsd-lwp show debug fbsd-lwp Control display of debugging info regarding FreeBSD threads. set remote multiprocess-extensions-packet show remote multiprocess-extensions-packet Set/show the use of the remote protocol multiprocess extensions. set remote thread-events show remote thread-events Set/show the use of thread create/exit events. set ada print-signatures on|off show ada print-signatures" Control whether parameter types and return types are displayed in overloads selection menus. It is activaled (@code{on}) by default. set max-value-size show max-value-size Controls the maximum size of memory, in bytes, that GDB will allocate for value contents. Prevents incorrect programs from causing GDB to allocate overly large buffers. Default is 64k. * The "disassemble" command accepts a new modifier: /s. It prints mixed source+disassembly like /m with two differences: - disassembled instructions are now printed in program order, and - and source for all relevant files is now printed. The "/m" option is now considered deprecated: its "source-centric" output hasn't proved useful in practice. * The "record instruction-history" command accepts a new modifier: /s. It behaves exactly like /m and prints mixed source+disassembly. * The "set scheduler-locking" command supports a new mode "replay". It behaves like "off" in record mode and like "on" in replay mode. * Support for various ROM monitors has been removed: target dbug dBUG ROM monitor for Motorola ColdFire target picobug Motorola picobug monitor target dink32 DINK32 ROM monitor for PowerPC target m32r Renesas M32R/D ROM monitor target mon2000 mon2000 ROM monitor target ppcbug PPCBUG ROM monitor for PowerPC * Support for reading/writing memory and extracting values on architectures whose memory is addressable in units of any integral multiple of 8 bits. * New remote packets exec stop reason Indicates that an exec system call was executed. exec-events feature in qSupported The qSupported packet allows GDB to request support for exec events using the new 'gdbfeature' exec-event, and the qSupported response can contain the corresponding 'stubfeature'. Set and show commands can be used to display whether these features are enabled. vCtrlC Equivalent to interrupting with the ^C character, but works in non-stop mode. thread created stop reason (T05 create:...) Indicates that the thread was just created and is stopped at entry. thread exit stop reply (w exitcode;tid) Indicates that the thread has terminated. QThreadEvents Enables/disables thread create and exit event reporting. For example, this is used in non-stop mode when GDB stops a set of threads and synchronously waits for the their corresponding stop replies. Without exit events, if one of the threads exits, GDB would hang forever not knowing that it should no longer expect a stop for that same thread. N stop reply Indicates that there are no resumed threads left in the target (all threads are stopped). The remote stub reports support for this stop reply to GDB's qSupported query. QCatchSyscalls:1 [;SYSNO]... QCatchSyscalls:0 Enable ("QCatchSyscalls:1") or disable ("QCatchSyscalls:0") catching syscalls from the inferior process. syscall_entry stop reason Indicates that a syscall was just called. syscall_return stop reason Indicates that a syscall just returned. QCatchSyscalls:1 in qSupported The qSupported packet may now include QCatchSyscalls:1 in the reply to indicate support for catching syscalls. * Extended-remote exec events ** GDB now has support for exec events on extended-remote Linux targets. For such targets with Linux kernels 2.5.46 and later, this enables follow-exec-mode and exec catchpoints. set remote exec-event-feature-packet show remote exec-event-feature-packet Set/show the use of the remote exec event feature. * Thread names in remote protocol The reply to qXfer:threads:read may now include a name attribute for each thread. * Target remote mode fork and exec events ** GDB now has support for fork and exec events on target remote mode Linux targets. For such targets with Linux kernels 2.5.46 and later, this enables follow-fork-mode, detach-on-fork, follow-exec-mode, and fork and exec catchpoints. * Remote syscall events ** GDB now has support for catch syscall on remote Linux targets, currently enabled on x86/x86_64 architectures. set remote catch-syscall-packet show remote catch-syscall-packet Set/show the use of the remote catch syscall feature. * MI changes ** The -var-set-format command now accepts the zero-hexadecimal format. It outputs data in hexadecimal format with zero-padding on the left. * Python Scripting ** gdb.InferiorThread objects have a new attribute "global_num", which refers to the thread's global thread ID. The existing "num" attribute now refers to the thread's per-inferior number. See "Per-inferior thread numbers" above. ** gdb.InferiorThread objects have a new attribute "inferior", which is the Inferior object the thread belongs to.
2016-02-02Add PLIST.SunOS, fixes build on SunOS.fhajny1-0/+10
2016-01-19Update to 7.10.1ryoon3-9/+11
Changelog: December 5th, 2015: GDB 7.10.1 Released! The latest version of GDB, version 7.10.1, is available for download. This is a minor corrective release over GDB 7.10, fixing the following issues: PR remote/18965 (new vforkdone stop reply should indicate parent process ID) PR gdb/18957 (build failure in linux-namespaces.c due to setns static declaration) PR gdb/19297 (Internal error on "record btrace": Unexpected branch trace format) PR c++/16957 (gdb segfaults when loading symbols in C++11-enabled application) PR c++/19306 (Incorrect demangling of symbols with ABI tags) PR c++/19307 (Demangler bugs found with fuzz-testing) PR c++/19308 (Demangle C++ Transactional Memory TS (N4514) symbols) August 28th, 2015: GDB 7.10 Released! The latest version of GDB, version 7.10, is available for download. Changes in this release include: Improved support for accessing shared libraries directly from the target system when debugging remotely. Various Guile and Python scripting improvements. Record-replay and reverse debugging on Aarch64 Linux. Support for fork events on extended-remote Linux targets (Linux kernels 2.5.60 and later). DTrace USDT (Userland Static Defined Tracing) probes support on x86_64 GNU/Linux targets. Vector ABI support on S/390 GNU/Linux targets. GDB now reads the GDBHISTSIZE environment variable rather than HISTSIZE to determine the size of GDB's command history. Support for setting the parity when connecting to the target using a serial interface. The number of candidates to be considered during completion can now be limited. Support for Sun's version of the "stabs" debug file format has been removed. Support for HP/PA running HP-UX (hppa*-*-hpux*) has been removed. Support for Itanium running HP-UX (ia64-*-hpux*) has been removed. See the NEWS file for a more complete and detailed list of what this release includes.
2015-12-22Account for files installed on OpenBSDsevan1-0/+10
Reviewed by wiz@
2015-12-05Extend PYTHON_VERSIONS_INCOMPATIBLE to 35adam1-2/+2
2015-11-03Add SHA512 digests for distfiles for devel categoryagc1-1/+2
Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-23Add build dependency on perl so that man pages are created correctly.wiz1-3/+3
Noted by Frédéric Fauberteau in PR 50266. Bump PKGREVISION.
2015-08-18Bump all packages that depend on curses.bui* or terminfo.bui* since theywiz1-2/+2
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
2015-08-17Remove obsolete Linux ifdef; tested by Thomas Orgis.wiz2-11/+3
Remove lib/charset.alias from PLIST, it shouldn't be there. Bump PKGREVISION.
2015-05-03Sync PLIST with the files installed. Bump revision.joerg3-4/+21
2015-05-03Add bfd.h dependency for netbsd-core.c.joerg2-1/+14
2015-03-15Move wip/gdb (version 7.9) over the 5.x version that has been here for absiegert36-1546/+250
long time and that does not even support amd64. The old gdb version, for those with a penchant for historic software, can be found as devel/gdb5.
2015-01-04document NOT_FOR_PLATFORMdholland1-1/+6
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2011-12-17Add missing mk/termcap buildlink.sbd1-2/+3
Bump PKGREVISION
2011-12-14Revert following commit (gdb doesn't confict with autoconf):sbd5-30/+12
Module Name: pkgsrc Committed By: sbd Date: Tue Dec 13 06:58:09 UTC 2011 Modified Files: pkgsrc/devel/gdb: Makefile distinfo pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_configure.in Added Files: pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_config.in patch-gdb_gdbserver_configure Log Message: This package can't use autoconf as to conflicts with it. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/gdb/Makefile cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/gdb/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_config.in \ pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure.in
2011-12-13This package can't use autoconf as to conflicts with it.sbd5-12/+30
2011-12-10Regen distinfosbd1-2/+2
2011-12-05If <stdlib.h> is needed and its wrapped with HAVE_STDDLIB_H it must besbd4-2/+42
tested for by autoconf! <stdlib.h> is needed as it include <alloca.h> which is needed for alloca(3). Also fix DESTDIR support for gdbserver.
2011-12-05Revert commit:sbd2-29/+1
Module Name: pkgsrc Committed By: sbd Date: Mon Dec 5 19:34:41 UTC 2011 Modified Files: pkgsrc/devel/gdb: distinfo Added Files: pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_gdbreplay.c Log Message: alloca(3) is not avalible with glibc on linux if -fno-builtin is used. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/gdb/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_gdbreplay.c
2011-12-05Fix DESTDIR support for gdbserversbd1-1/+2
2011-12-05alloca(3) is not avalible with glibc on linux if -fno-builtin is used.sbd2-1/+28
2011-04-22recursive bump from gettext-lib shlib bump.obache1-2/+2
2011-03-24Add patches accidently missed at last commit.obache2-0/+50
2011-03-05Add user-destdir installation support.obache6-5/+97
2010-03-17Doesn't support NetBSD/amd64.joerg1-2/+2
2009-07-14Don't attempt to build gdb on DragonFly. It's also unlikely that someonehasso1-2/+2
will integrate DragonFly changes into upstream soon.
2008-01-06Some changes take a long time. This package had been broken since tworillig3-5/+29
years. The fix was trivially copied from devel/coconut, which had the same problem concerning an "invalid lvalue in increment".
2007-07-11The hash for the patch-as patch. For some reason it was ommited from the ↵lkundrak1-1/+2
previous commit.
2007-07-11Silence false warning.lkundrak1-0/+28
2007-07-11Attempt to fix build on >1.6lkundrak2-4/+43
2007-07-03Fixes for CVE-2005-1704 and CVE-2005-1705. Bump PKGREVISION.lkundrak4-3/+95
2007-03-23Needs msgfmt.joerg1-2/+2
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-3/+3
Patch provided by Sergey Svishchev in private mail.
2007-01-31Mark as BROKEN_IN pkgsrc-2006Q4, based onwiz1-2/+2
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html (latest 3.1/i386 bulk build of 2006Q4). Feel free to fix them...