pkgsrc/devel/gdbada/patches/patch-ai
shannonjr 683026dd08 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.
2005-11-13 14:16:05 +00:00

20 lines
635 B
Text

$NetBSD: patch-ai,v 1.1 2005/11/13 14:16:05 shannonjr Exp $
--- gdb/corelow.c.orig 2004-10-20 17:11:44.000000000 -0600
+++ gdb/corelow.c
@@ -506,7 +506,6 @@ get_core_register_section (char *name,
static void
get_core_registers (int regno)
{
- int status;
if (!(core_gdbarch && gdbarch_regset_from_core_section_p (core_gdbarch))
&& (core_vec == NULL || core_vec->core_read_registers == NULL))
@@ -553,7 +552,6 @@ core_xfer_partial (struct target_ops *op
struct bfd_section *section;
bfd_size_type size;
- char *contents;
section = bfd_get_section_by_name (core_bfd, ".auxv");
if (section == NULL)