Re: strace needs oop-instruction for ARM

Matthew Wilcox (willy@thepuffingroup.com)
Fri, 24 Dec 1999 15:58:19 -0500


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/