aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-11-09 02:21:54 +0000
committerYao Qi <yao@codesourcery.com>2011-11-09 02:21:54 +0000
commit609657371be66f07e4a6f706b9bec5ade6724ec4 (patch)
treecdb8b8c1f6609e2558de700fc0c7e8a980e7262f
parent72a2e3dcf5c4dceb8e548d738b5373468d05655b (diff)
downloadgdb-609657371be66f07e4a6f706b9bec5ade6724ec4.zip
gdb-609657371be66f07e4a6f706b9bec5ade6724ec4.tar.gz
gdb-609657371be66f07e4a6f706b9bec5ade6724ec4.tar.bz2
gdb/
* amd64-tdep.c (amd64_relocate_instruction): Make it static.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/amd64-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e003f39..ebe03be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-08 Yao Qi <yao@codesourcery.com>
+
+ * amd64-tdep.c (amd64_relocate_instruction): Make it static.
+
2011-11-08 Meador Inge <meadori@codesourcery.com>
* arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP
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)
{