Subject: strace on ARM does not recognize __ARM_NR_cacheflush
Package: strace
Version: 4.5.14-2
Severity: normal

*** Please type your report below this line ***
On ARM, strace does not recognize __ARM_NR_cacheflush which is
system call number 0xf0002.

Here is a standalone testcase:
----- cache_flush.S
#include <asm/unistd.h>

_start: .globl _start
        mov r0,pc
        add r1,pc,#256
        mov r2,#0
        swi __ARM_NR_cacheflush

        mov r0,#0
        swi __NR_exit
-----
$ gcc -o cache_flush -nostdlib -nostartfiles cache_flush.S
$ strace ./cache_flush
execve("./cache_flush", ["./cache_flush"], [/* 19 vars */]) = 0
syscall_983042(0x807c, 0x8180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0xbe966ad0, 0, 0x8084, 0x10, 0x807c, 0xc444, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0) = 0
_exit(0)                                = ?
Process 6648 detached
$


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages strace depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

strace recommends no packages.

-- no debconf information

-- 
John Reiser, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to