Fix relocation of jump and call instructions (used when inserting fast
authorKwok Yeung <kcy@sourceware.org>
Fri, 18 Mar 2011 00:27:48 +0000 (00:27 +0000)
committerKwok Yeung <kcy@sourceware.org>
Fri, 18 Mar 2011 00:27:48 +0000 (00:27 +0000)
commitf4a1794a6c09c86d60a9cdab337fab30a55e4fad
treede2540ac1819f5ba64613d86f3e8320f8a7e9f8b
parent6935e6051c76b4fce3d52fa1b6d28d32896b20cc
Fix relocation of jump and call instructions (used when inserting fast
tracepoints).

2011-03-18  Kwok Cheung Yeung  <kcy@codesourcery.com>

        * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments
        to store_signed_integer.  Add debug message when relocating CALL
        instructions.  Fix formatting of debug message.
        * i386-tdep.c (i386_relocate_instruction): Ditto.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/i386-tdep.c