public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH][binutils][AArch64] Fix debug trace build for AArch64.
@ 2017-04-24  9:42 Tamar Christina
  2017-04-24 10:57 ` Nick Clifton
  2018-03-12 11:15 ` Tamar Christina
  0 siblings, 2 replies; 9+ messages in thread
From: Tamar Christina @ 2017-04-24  9:42 UTC (permalink / raw)
  To: binutils; +Cc: nd, Richard Earnshaw, Marcus Shawcroft

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

Hi All,

The build with debug tracing enabled (`-DDEBUG_AARCH64`)
is currently broken. A variable that no longer exists is being
referenced from the debug statement.

Regtested on aarch64-none-linux-gnu and no regressions,

Ok for master?

PS. I do not have commit rights so if OK can someone commit for me?

opcodes/
2017-04-24  Tamar Christina  <tamar.christina@arm.com>

	* aarch64-opc.c (aarch64_logical_immediate_p): Update DEBUG_TRACE arguments.

Thanks,
Tamar

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: opcodes-debug.patch --]
[-- Type: text/x-patch; name="opcodes-debug.patch", Size: 578 bytes --]

diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c
index cc99c101236c542ff94bb9c0abc09df521ced330..a52ea70c0093f7daaecfd58e3f0e81a3953abf5f 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)
     {

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-15 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-24  9:42 [PATCH][binutils][AArch64] Fix debug trace build for AArch64 Tamar Christina
2017-04-24 10:57 ` Nick Clifton
2018-03-12 11:15 ` Tamar Christina
2018-04-05 10:14   ` Tamar Christina
2018-04-05 13:19     ` Nick Clifton
2018-04-05 14:28       ` Tamar Christina
2018-05-15 16:49         ` Tamar Christina
2018-05-15 16:51           ` Nick Clifton
2018-05-15 16:53             ` Tamar Christina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).