From 609657371be66f07e4a6f706b9bec5ade6724ec4 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 9 Nov 2011 02:21:54 +0000 Subject: [PATCH] gdb/ * amd64-tdep.c (amd64_relocate_instruction): Make it static. --- gdb/ChangeLog | 4 ++++ gdb/amd64-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e003f391f09..ebe03be5803 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-11-08 Yao Qi + + * amd64-tdep.c (amd64_relocate_instruction): Make it static. + 2011-11-08 Meador Inge * arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index b85f255d5bb..bd31e542438 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) { -- 2.30.2