Additional Applications

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Operating System All
  • Priority Very Low
  • Reported Version Current one
Attached to Project: Additional Applications
Opened by dmarschal - 05.05.2013

FS#318 - strace can not handle conditional SWI's

I found a bug when I tried to debug my code with strace.

It happens when strace has to handle conditional SWI's.

Example: (ASM code) save as "condswi.s"
-----
.data
.text
_globl _start
_start:
mov r0,#0 @ return code
mov r7,#1 @ sys_exit
swine 0
swieq 0
.end
-----

The code assembles/links fine using 'as' and 'ld'.
> as condswi.s
> ld a.out -o condswi

When I want to strace the executable file I got the following error.
> strace ./condswi
'syscall: unknown syscall trap 0x1f000000'
As a result strace quits.

Thanks,
Dennis

typo:
"_globl" should be ".globl"

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing