aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/config/sparc/nm-nbsd.h5
-rw-r--r--gdb/corelow.c5
-rw-r--r--gdb/mips-linux-tdep.c15
4 files changed, 21 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8a49238..63a7837 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-13 Andrew Cagney <cagney@redhat.com>
+
+ * corelow.c (core_xfer_partial): Use "struct bfd_section".
+ * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
+ copyright.
+ * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
+
2004-02-12 Fred Fish <fnf@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h
index 5e05234..c64f505 100644
--- a/gdb/config/sparc/nm-nbsd.h
+++ b/gdb/config/sparc/nm-nbsd.h
@@ -1,7 +1,7 @@
/* Native-dependent definitions for NetBSD/sparc.
- Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002, 2003
- Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002,
+ 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -30,6 +30,7 @@
/* Support for StackGhost cookies. */
#include "target.h"
+struct target_ops; /* Fool ARI. */
#define NATIVE_XFER_WCOOKIE sparc_xfer_wcookie
extern LONGEST sparc_xfer_wcookie (struct target_ops *ops,
diff --git a/gdb/corelow.c b/gdb/corelow.c
index d14b3a3..5f6e26d 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -1,7 +1,8 @@
/* Core dump and executable file functions below target vector, for GDB.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+ 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation,
+ Inc.
This file is part of GDB.
@@ -537,7 +538,7 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
/* When the aux vector is stored in core file, BFD
represents this with a fake section called ".auxv". */
- sec_ptr section;
+ struct bfd_section *section;
bfd_size_type size;
char *contents;
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index fb7601b..cc8ae5f 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -1,6 +1,6 @@
/* Target-dependent code for GNU/Linux on MIPS processors.
- Copyright 2001, 2002 Free Software Foundation, Inc.
+ Copyright 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -778,10 +778,11 @@ mips_linux_in_dynsym_resolve_code (CORE_ADDR pc)
/* See the comments for SKIP_SOLIB_RESOLVER at the top of infrun.c,
and glibc_skip_solib_resolver in glibc-tdep.c. The normal glibc
implementation of this triggers at "fixup" from the same objfile as
- "_dl_runtime_resolve"; MIPS/Linux can trigger at "__dl_runtime_resolve"
- directly. An unresolved PLT entry will point to _dl_runtime_resolve,
- which will first call __dl_runtime_resolve, and then pass control to
- the resolved function. */
+ "_dl_runtime_resolve"; MIPS GNU/Linux can trigger at
+ "__dl_runtime_resolve" directly. An unresolved PLT entry will
+ point to _dl_runtime_resolve, which will first call
+ __dl_runtime_resolve, and then pass control to the resolved
+ function. */
static CORE_ADDR
mips_linux_skip_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
@@ -832,8 +833,8 @@ mips_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_skip_solib_resolver (gdbarch, mips_linux_skip_resolver);
- /* This overrides the MIPS16 stub support from mips-tdep. But no one uses
- MIPS16 on Linux yet, so this isn't much of a loss. */
+ /* This overrides the MIPS16 stub support from mips-tdep. But no
+ one uses MIPS16 on GNU/Linux yet, so this isn't much of a loss. */
set_gdbarch_in_solib_call_trampoline (gdbarch, mips_linux_in_dynsym_stub);
}