lkml.org 
[lkml]   [1999]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: strace needs oop-instruction for ARM
On Fri, Dec 24, 1999 at 11:23:18AM +0100, Wichert Akkerman wrote:
>
> straec currently fails to trace fork() on the ARM architecture
> since it doesn't have the right loop instruction for that architecture:
>
> #if defined (I386)
> #define LOOP 0x0000feeb
> #elif defined(ARM)
> #define LOOP -1 /* almost certainly wrong, jws */
>
> Can someone tell me what the proper instruction is?

what exactly do you want an instruction to do? Loop endlessly? if so,
try assembling:

loop
B loop

and objdump will tell you what that encodes to. If you meant something
different, let me know.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.036 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site