This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/AIX] Delete rs6000-nat.c:fixup_breakpoints extern declaration.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 25 Mar 2013 17:15:26 -0700
- Subject: [commit/AIX] Delete rs6000-nat.c:fixup_breakpoints extern declaration.
Hello,
Something I noticed while looking at rs6000-nat.c: An extern declaration
inside a .c file, but luckily unused (and non-existent).
gdb/ChangeLog:
* rs6000-nat.c (fixup_breakpoints): Delete declaration.
Tested by rebuilding GDB on AIX. Checked in.
---
gdb/ChangeLog | 4 ++++
gdb/rs6000-nat.c | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2aa6ee3..c0054b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-25 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-nat.c (fixup_breakpoints): Delete declaration.
+
2013-03-25 Doug Evans <dje@google.com>
* contrib/cc-with-tweaks.sh: Check exit code of dwp.
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index a40b9a7..f16a964 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -132,8 +132,6 @@ static void vmap_symtab (struct vmap *);
static void exec_one_dummy_insn (struct regcache *);
-extern void fixup_breakpoints (CORE_ADDR low, CORE_ADDR high, CORE_ADDR delta);
-
/* Given REGNO, a gdb register number, return the corresponding
number suitable for use as a ptrace() parameter. Return -1 if
there's no suitable mapping. Also, set the int pointed to by
--
1.7.10.4