head 1.3; access; symbols pkgsrc-2013Q2:1.2.0.66 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.64 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.62 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.60 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.58 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.56 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.54 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.52 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.50 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.48 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.46 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.44 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.42 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.40 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.36 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.34 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.32 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.30 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.28 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.26 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.24 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.22 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.16 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.14 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.12 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.10 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.8 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2013.08.07.05.34.14; author mef; state dead; branches; next 1.2; commitid Gjs0BYgZT1C6Zt0x; 1.2 date 2005.11.05.17.14.52; author rillig; state Exp; branches; next 1.1; 1.1 date 2003.10.21.14.19.37; author wennmach; state Exp; branches; next ; desc @@ 1.3 log @Bump GDB version from 5.3 to 7.6 (pkgsrc) patches/patch-a[abd] Removed, seems the problems no longer exist patches/patch-ac Comment added. patches/patch-bfd_bfd-in2_h Added to build with clang patches/patch-opcodes_configure Added (revert to 7.5.1, Bad substitution) (upstream) GDB 7.6 Released (2013/04/26) http://sourceware.org/ml/gdb-announce/2013/msg00000.html --------------------------- GDB 7.6 brings new targets, features and improvements, including: * New native configurations: ARM AArch64 GNU/Linux aarch64*-*-linux-gnu FreeBSD/powerpc powerpc*-*-freebsd x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux-gnu * New target configurations: ARM AArch64 aarch64*-*-elf ARM AArch64 GNU/Linux aarch64*-*-linux Lynx 178 PowerPC powerpc-*-lynx*178 x86_64/Cygwin x86_64-*-cygwin* Tilera TILE-Gx GNU/Linux tilegx*-*-linux * New configure options: -enable-libmcheck/--disable-libmcheck * Support for the "mini debuginfo" section, .gnu_debugdata * The C++ ABI now defaults to the GNU v3 ABI. This has been the default for GCC since November 2000. * New command line option: -nh (disables auto-loading of ~/.gdbinit) * Various GDB/MI changes * Python scripting: ** Vectors can be created with gdb.Type.vector. ** Python's atexit.register now works in GDB. ** Types can be pretty-printed via a Python API. ** Python 3 is now supported (in addition to Python 2.4 or later) ** New class gdb.Architecture exposes GDB's internal representation of architecture in the Python API. ** New method Frame.architecture returns the gdb.Architecture object corresponding to the frame's architecture. ** New Python-based convenience functions ($_memeq, $_streq, $_strlen and $_regex) * The 'cd' command now defaults to using '~' (the home directory) if not given an argument. * New commands: ** catch signal ** maint info bfds ** python-interactive ** enable/disable type-printer * New remote packets (QTBuffer:size, Qbtrace:bts, Qbtrace:off and qXfer:btrace:read) * New options: ** set/show print type methods (on|off) ** set/show print type typedefs (on|off) ** set/show filename-display basename|relative|absolute ** set/show trace-buffer-size ** set/show remote trace-buffer-size-packet auto|on|off ** set/show debug aarch64 ** set/show debug coff-pe-read ** set/show debug mach-o ** set/show debug notification * target record: The "target record" command has been renamed to "target record-full", and a new "target record-btrace" has been added. This new target uses hardward support to record the control-flow of a process. Execution replay is not supported, but this targets allows investigating the program's recorded execution. For a complete list and more details on each item, please see the gdb/NEWS file. --------------------------- GDB 7.5 released! (2012-08-17) http://sourceware.org/ml/gdb-announce/2012/msg00004.html GDB 7.4 released! (2012-01-24) http://sourceware.org/ml/gdb-announce/2012/msg00001.html GDB 7.4 released! (2011-07-26) http://sourceware.org/ml/gdb-announce/2011/msg00001.html Other older release date: http://www.gnu.org/software/gdb/schedule/ @ text @$NetBSD: patch-ab,v 1.2 2005/11/05 17:14:52 rillig Exp $ --- gdb/avr-tdep.c.orig Wed Sep 18 19:14:22 2002 +++ gdb/avr-tdep.c Sat Nov 5 18:12:23 2005 @@@@ -480,6 +480,9 @@@@ avr_scan_prologue (struct frame_info *fi prologue_end = fi->pc; else if (sal.end < prologue_end) /* next line begins after fn end */ prologue_end = sal.end; /* (probably means no prologue) */ + + /* Check that we don't use a prologue larger then AVR_MAX_PROLOGUE_SIZE */ + prologue_end = min (prologue_end, prologue_start + AVR_MAX_PROLOGUE_SIZE); } else /* We're in the boondocks: allow for */ @ 1.2 log @Fixed pkglint warnings: - Using "+=" with CONFIGURE_ARGS. - Converted patch-ab to unified format. - Replaced ${PKGNAME:...} with a simple "avr-gdb". @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add bounds checking for prologue buffer. This avoids avr-gdb crashes when debugging programs without prologue. Patch provided by Karl Janmar < karl -AT- utopiafoundation -DOT- org > in PR pkg/23154 @ text @d3 12 a14 14 *** gdb/avr-tdep.c.org Sun Oct 12 02:35:53 2003 --- gdb/avr-tdep.c Sun Oct 12 02:58:30 2003 *************** *** 480,485 **** --- 480,488 ---- prologue_end = fi->pc; else if (sal.end < prologue_end) /* next line begins after fn end */ prologue_end = sal.end; /* (probably means no prologue) */ + + /* Check that we don't use a prologue larger then AVR_MAX_PROLOGUE_SIZE */ + prologue_end = min (prologue_end, prologue_start + AVR_MAX_PROLOGUE_SIZE); } else /* We're in the boondocks: allow for */ @