This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/gdb-8.0-branch] Fix AArch64 debug trace build
- From: Tamar Christina <tnfchris at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 21 May 2018 09:47:22 -0000
- Subject: [binutils-gdb/gdb-8.0-branch] Fix AArch64 debug trace build
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=378272cef651024de67dc0e09d3f41ae2d66f8bd
commit 378272cef651024de67dc0e09d3f41ae2d66f8bd
Author: Tamar Christina <tamar.christina@arm.com>
Date: Mon Apr 24 11:55:44 2017 +0100
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:
---
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 <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 @@ 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)
{