[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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:

	B loop

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

Reply to: