From: Tamar Christina Date: Mon, 24 Apr 2017 10:55:44 +0000 (+0100) Subject: Fix AArch64 debug trace build X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=378272cef651024de67dc0e09d3f41ae2d66f8bd;p=thirdparty%2Fbinutils-gdb.git Fix AArch64 debug trace build The build with debug tracing enabled (`-DDEBUG_AARCH64`) is currently broken. A variable that no longer exists is being referenced from the debug statement. * aarch64-opc.c (aarch64_logical_immediate_p): Update DEBUG_TRACE arguments. (cherry picked from commit 957f6b39cab6cac0e4c54e650c7f75109544ac1d) --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 63afa0ef50c..56c9ecd794c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2018-05-21 Tamar Christina + + PR gdb/23200 + * aarch64-opc.c (aarch64_logical_immediate_p): Update + DEBUG_TRACE arguments. + 2017-04-13 Alan Modra * epiphany-desc.c: Regenerate. diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index cc99c101236..a52ea70c009 100644 --- a/opcodes/aarch64-opc.c +++ b/opcodes/aarch64-opc.c @@ -1204,8 +1204,8 @@ aarch64_logical_immediate_p (uint64_t value, int esize, aarch64_insn *encoding) uint64_t upper; int i; - DEBUG_TRACE ("enter with 0x%" PRIx64 "(%" PRIi64 "), is32: %d", value, - value, is32); + DEBUG_TRACE ("enter with 0x%" PRIx64 "(%" PRIi64 "), esize: %d", value, + value, esize); if (initialized == FALSE) {