[PATCH] AArch64: Fix printing of long long value

Dmitry V. Levin ldv at altlinux.org
Sat Mar 30 23:23:17 UTC 2013


On Sat, Mar 30, 2013 at 10:38:45PM +0100, Andreas Schwab wrote:
> * util.c (printllval): Fix printing of long long values on
> AArch64.

Fine with me.

> 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)

Looks like strace code consistently uses "defined(" form.
Let's keep it that way.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130331/6cbac2fc/attachment.bin>


More information about the Strace-devel mailing list