]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix AArch64 debug trace build gdb-8.0-branch
authorTamar Christina <tamar.christina@arm.com>
Mon, 24 Apr 2017 10:55:44 +0000 (11:55 +0100)
committerTamar Christina <tamar.christina@arm.com>
Mon, 21 May 2018 09:43:40 +0000 (10:43 +0100)
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
opcodes/aarch64-opc.c

index 63afa0ef50cf87d8de982277a6b840145b0614e6..56c9ecd794c80cef1e65c9e0735701bd0c0fa78f 100644 (file)
@@ -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.
index cc99c101236c542ff94bb9c0abc09df521ced330..a52ea70c0093f7daaecfd58e3f0e81a3953abf5f 100644 (file)
@@ -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)
     {