From 378272cef651024de67dc0e09d3f41ae2d66f8bd Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Mon, 24 Apr 2017 11:55:44 +0100 Subject: 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) --- opcodes/ChangeLog | 6 ++++++ opcodes/aarch64-opc.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 63afa0e..56c9ecd 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 cc99c10..a52ea70 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) { -- cgit v1.1