head 1.4; access; symbols pkgsrc-2013Q2:1.3.0.66 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.64 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.62 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.60 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.58 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.56 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.54 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.52 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.50 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.48 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.46 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.44 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.42 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.40 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.38 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.36 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.34 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.32 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.30 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.22 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2013.08.07.05.34.14; author mef; state dead; branches; next 1.3; commitid Gjs0BYgZT1C6Zt0x; 1.3 date 2005.12.19.15.23.29; author joerg; state Exp; branches; next 1.2; 1.2 date 2003.07.17.20.04.00; author wennmach; state dead; branches; next 1.1; 1.1 date 2003.07.16.22.11.31; author wennmach; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.07.16.22.11.31; author wennmach; state Exp; branches; next ; desc @@ 1.4 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-aa,v 1.3 2005/12/19 15:23:29 joerg Exp $ --- gdb/target.c.orig 2005-12-19 15:16:32.000000000 +0000 +++ gdb/target.c @@@@ -36,8 +36,6 @@@@ #include #include "regcache.h" -extern int errno; - static void target_info (char *, int); static void cleanup_target (struct target_ops *); @ 1.3 log @Fix errno. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update avr-gdb to 5.3, making patch-aa obsolete. While there, buildlink2-ify. Changes suggested by Joachim Koenig-Baltes in private e-mail. @ text @d1 1 a1 23 $NetBSD: patch-aa,v 1.1 2003/07/16 22:11:31 wennmach Exp $ Index: gdb/avr-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/avr-tdep.c,v retrieving revision 1.4 diff -u -p -r1.4 avr-tdep.c --- gdb/avr-tdep.c 17 Jun 2002 23:32:27 -0000 1.4 +++ gdb/avr-tdep.c 19 Jul 2002 18:33:30 -0000 @@@@ -995,7 +995,12 @@@@ avr_skip_prologue (CORE_ADDR pc) { sal = find_pc_line (func_addr, 0); - if (sal.line != 0 && sal.end < func_end) + /* troth/2002-70-19: For some very simple functions, gcc doesn't + generate a prologue and the sal.end ends up being the insn (2 bytes) + before func_end (the address of the next func). By adjusting + func_end, we can catch these functions and return the correct pc. */ + + if (sal.line != 0 && sal.end < (func_end-2)) return sal.end; } d3 11 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @GNU Debugger GDB, configured for Atmel AVR microcontroller targets. Submitted by Karl Janmar in PR 22139, with only minor changes by myself. Original package from FreeBSD. @ text @@