head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 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.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2013.06.12.14.09.12; author wiz; state dead; branches; next 1.2; commitid 6Xw10lFRd8ZNDkTw; 1.2 date 2005.11.13.14.16.05; author shannonjr; state Exp; branches; next 1.1; 1.1 date 2005.04.12.10.13.36; author shannonjr; state Exp; branches; next ; desc @@ 1.3 log @Remove gdbada. Marino writes: Feel free to remove devel/gdbada now. Any modern gdb will handle it, you don't need a special gdb for this (which I assume is also ancient and useless for current GNATs) @ text @$NetBSD: patch-ag,v 1.2 2005/11/13 14:16:05 shannonjr Exp $ --- gdb/cli/cli-cmds.c.orig 2004-10-20 17:51:34.000000000 -0600 +++ gdb/cli/cli-cmds.c @@@@ -225,7 +225,6 @@@@ compare_strings (const void *arg1, const static void complete_command (char *arg, int from_tty) { - int i; int argpoint; char **completions, *point, *arg_prefix; @@@@ -841,7 +840,7 @@@@ disassemble_command (char *arg, int from { CORE_ADDR low, high; char *name; - CORE_ADDR pc, pc_masked; + CORE_ADDR pc; char *space_index; #if 0 asection *section; @ 1.2 log @Update to gdbada-6.3. This is a version of GDB, maintained by AdaCore, where Ada support has been added. Most of these changes are not part of the official sources yet. The source used in this port is a snapshot of AdaCore's CVS repository. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Added patch correcting how program counter and stack pointer are accessed. This is simular to fix added to devel/gdb6. @ text @d3 19 a21 30 --- gdb/i386bsd-nat.c.orig 2003-01-16 02:46:34.000000000 -0700 +++ gdb/i386bsd-nat.c @@@@ -150,6 +150,9 @@@@ fill_gregset (gregset_t *gregsetp, int r } #include "i387-tdep.h" +#ifdef HAVE_SYS_PROCFS_H +#include +#endif /* Fill GDB's register array with the floating-point register values in *FPREGSETP. */ @@@@ -419,7 +422,7 @@@@ _initialize_i386bsd_nat (void) /* Override the default value for the offset of the program counter in the sigcontext structure. */ - sc_pc_offset = offsetof (struct sigcontext, sc_pc); + sc_pc_offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_EIP]); if (SC_PC_OFFSET != sc_pc_offset) { @@@@ -432,7 +435,7 @@@@ Please report this to . SC_PC_OFFSET = sc_pc_offset; /* Likewise for the stack pointer. */ - sc_sp_offset = offsetof (struct sigcontext, sc_sp); + sc_pc_offset = offsetof (ucontext_t, uc_mcontext.__gregs[_REG_UESP]); if (SC_SP_OFFSET != sc_sp_offset) { @