summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-03-18 04:16:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-03-18 04:16:59 +0100
commitf50e7141d5b5aedafa220d851a8b6afe753d679a (patch)
tree02e5d46f9208c3a6d9fcd62df6edd531406067c0 /syscall.c
parent88c63f21b18bcf345856c5ef2ca9504f29e9ace8 (diff)
downloadstrace-f50e7141d5b5aedafa220d851a8b6afe753d679a.tar.gz
strace-f50e7141d5b5aedafa220d851a8b6afe753d679a.tar.bz2
strace-f50e7141d5b5aedafa220d851a8b6afe753d679a.tar.xz
Remove code which is not used on Linux
Compile tested in qemu on armv4l,armv4tl,armv5l,armv6l,i686, mipsel,mips,x86_64 * syscall.c: Remove code which handles RVAL_Lfoo constants. * defs.h: Remove struct tcb::u_lrval member - it is never set. Remove RVAL_Lfoo constants which signify return of "long" result - they are never used. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/syscall.c b/syscall.c
index 6737f28..272e3a0 100644
--- a/syscall.c
+++ b/syscall.c
@@ -2033,20 +2033,6 @@ trace_syscall_exiting(struct tcb *tcp)
case RVAL_DECIMAL:
tprintf("= %ld", tcp->u_rval);
break;
-#ifdef HAVE_LONG_LONG
- case RVAL_LHEX:
- tprintf("= %#llx", tcp->u_lrval);
- break;
- case RVAL_LOCTAL:
- tprintf("= %#llo", tcp->u_lrval);
- break;
- case RVAL_LUDECIMAL:
- tprintf("= %llu", tcp->u_lrval);
- break;
- case RVAL_LDECIMAL:
- tprintf("= %lld", tcp->u_lrval);
- break;
-#endif
default:
fprintf(stderr,
"invalid rval format\n");