summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2017-04-24 11:55:44 +0100
committerTamar Christina <tamar.christina@arm.com>2018-05-21 10:43:40 +0100
commit378272cef651024de67dc0e09d3f41ae2d66f8bd (patch)
tree3e90870d986c66c840bae6d7dd51bb88c29d21c9
parent621a88c13ad39cccc8ba511ff3088cd623e9f335 (diff)
downloadbinutils-gdb-gdb-8.0-branch.tar.gz
Fix AArch64 debug trace buildgdb-8.0-branch
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)
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/aarch64-opc.c4
2 files changed, 8 insertions, 2 deletions
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 <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 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)
{