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 63afa0e..56c9ecd 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2018-05-21 Tamar Christina <tamar.christina@arm.com>
+
+ PR gdb/23200
+ * aarch64-opc.c (aarch64_logical_immediate_p): Update
+ DEBUG_TRACE arguments.
+
2017-04-13 Alan Modra <amodra@gmail.com>
* 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 @@
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)
{