This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Make amd64_relocate_instruction static
- From: Yao Qi <yao at codesourcery dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 09 Nov 2011 10:20:50 +0800
- Subject: [obv] Make amd64_relocate_instruction static
amd64_relocate_instruction is not used elsewhere, so make it static.
Committed.
--
Yao (éå)
2011-11-08 Yao Qi <yao@codesourcery.com>
* amd64-tdep.c (amd64_relocate_instruction): Make it static.
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index b85f255..bd31e54 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1551,7 +1551,7 @@ append_insns (CORE_ADDR *to, ULONGEST len, const gdb_byte *buf)
*to += len;
}
-void
+static void
amd64_relocate_instruction (struct gdbarch *gdbarch,
CORE_ADDR *to, CORE_ADDR oldloc)
{