[PATCH] AArch64: Fix printing of long long value
Andreas Schwab
schwab at suse.de
Sat Mar 30 21:38:45 UTC 2013
* util.c (printllval): Fix printing of long long values on
AArch64.
Signed-off-by: Andreas Schwab <schwab at suse.de>
---
util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.c b/util.c
index fa552cc..d4314ab 100644
--- a/util.c
+++ b/util.c
@@ -185,7 +185,7 @@ printxval(const struct xlat *xlat, int val, const char *dflt)
int
printllval(struct tcb *tcp, const char *format, int arg_no)
{
-#if defined(X86_64) || defined(POWERPC64) || defined(TILE)
+#if defined(X86_64) || defined(POWERPC64) || defined(TILE) || defined (AARCH64)
if (current_personality == 0) {
/* Technically, format expects "long long",
* but we supply "long". We expect that
--
1.8.2
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Strace-devel
mailing list