From: Yao Qi Date: Wed, 9 Nov 2011 02:21:54 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=609657371be66f07e4a6f706b9bec5ade6724ec4;p=binutils-gdb.git gdb/ * amd64-tdep.c (amd64_relocate_instruction): Make it static. --- 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) {