Commit graph

80 commits

Author SHA1 Message Date
fhajny
83da5e858c Conclude the previous fix by not installing bfd.info either. Makes
package co-exist finally with devel/binutils. Bump PKGREVISION.
2016-04-14 08:40:44 +00:00
fhajny
b87e5e0ba0 Do not install libbfd and libopcodes. The objects are used in the
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-04-06 09:34:20 +00:00
ryoon
90e4f06e60 Update to 7.11
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-03-05 09:08:46 +00:00
fhajny
5d8907747c Add PLIST.SunOS, fixes build on SunOS. 2016-02-02 07:24:47 +00:00
ryoon
e4a0456a18 Update to 7.10.1
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.
2016-01-19 12:18:24 +00:00
sevan
1bbc93053f Account for files installed on OpenBSD
Reviewed by wiz@
2015-12-22 13:19:55 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
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-11-03 03:27:11 +00:00
wiz
71a2f92f9b Add build dependency on perl so that man pages are created correctly.
Noted by Frédéric Fauberteau in PR 50266.

Bump PKGREVISION.
2015-09-23 08:44:41 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
68f6ded944 Remove obsolete Linux ifdef; tested by Thomas Orgis.
Remove lib/charset.alias from PLIST, it shouldn't be there.
Bump PKGREVISION.
2015-08-17 15:02:51 +00:00
joerg
6b5d8a22e0 Sync PLIST with the files installed. Bump revision. 2015-05-03 19:45:09 +00:00
joerg
bb4c38ad02 Add bfd.h dependency for netbsd-core.c. 2015-05-03 19:44:37 +00:00
bsiegert
3e2ee61df1 Move wip/gdb (version 7.9) over the 5.x version that has been here for a
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-03-15 14:56:46 +00:00
dholland
0318c17f7a document NOT_FOR_PLATFORM 2015-01-04 02:16:49 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
sbd
395f98a08b Add missing mk/termcap buildlink.
Bump PKGREVISION
2011-12-17 10:15:08 +00:00
sbd
201c3302d8 Revert following commit (gdb doesn't confict with autoconf):
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-14 02:29:30 +00:00
sbd
6227bf0073 This package can't use autoconf as to conflicts with it. 2011-12-13 06:58:08 +00:00
sbd
b6f12a36d7 Regen distinfo 2011-12-10 06:54:06 +00:00
sbd
e641655573 If <stdlib.h> is needed and its wrapped with HAVE_STDDLIB_H it must be
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-05 22:15:05 +00:00
sbd
548e7ab3e6 Revert commit:
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-05 22:05:29 +00:00
sbd
d92c3cb720 Fix DESTDIR support for gdbserver 2011-12-05 19:36:18 +00:00
sbd
8bc78405db alloca(3) is not avalible with glibc on linux if -fno-builtin is used. 2011-12-05 19:34:41 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
obache
01e3e48b0b Add patches accidently missed at last commit. 2011-03-24 01:29:34 +00:00
obache
df201fc443 Add user-destdir installation support. 2011-03-05 09:14:23 +00:00
joerg
f9491fdc83 Doesn't support NetBSD/amd64. 2010-03-17 15:34:15 +00:00
hasso
01e14f974e Don't attempt to build gdb on DragonFly. It's also unlikely that someone
will integrate DragonFly changes into upstream soon.
2009-07-14 19:02:16 +00:00
rillig
aa31f9d9e2 Some changes take a long time. This package had been broken since two
years. The fix was trivially copied from devel/coconut, which had the
same problem concerning an "invalid lvalue in increment".
2008-01-06 19:25:09 +00:00
lkundrak
42095c2842 The hash for the patch-as patch. For some reason it was ommited from the previous commit. 2007-07-11 13:46:38 +00:00
lkundrak
807669d274 Silence false warning. 2007-07-11 13:15:53 +00:00
lkundrak
d6d43e23ee Attempt to fix build on >1.6 2007-07-11 13:12:01 +00:00
lkundrak
accd3811e1 Fixes for CVE-2005-1704 and CVE-2005-1705. Bump PKGREVISION. 2007-07-03 12:41:18 +00:00
joerg
5ed663685f Needs msgfmt. 2007-03-23 15:18:23 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
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...
2007-01-31 00:04:11 +00:00
rillig
edc90a1031 Fixed "test ==". 2006-10-22 07:55:38 +00:00
wiz
991dcdf978 Mark as BROKEN_IN pkgsrc-2006Q1 according to
ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html
2006-05-18 20:29:58 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
a5df8ff36a Fix errno. Add DragonFly support. 2006-02-27 15:45:29 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
schmonz
42428df5a0 Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
2006-01-04 04:29:05 +00:00
schmonz
463f43526a Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
2005-12-26 23:39:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
kristerw
0c5ea3e181 GDB does not understand the Darwin object format yet. 2005-07-17 19:03:34 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00