strace 'LOOP' for MIPS
From strace/util.c:
#ifdef I386
#define LOOP 0x0000feeb
#else /* !I386 */
#ifdef M68K
#define LOOP 0x60fe0000
#else /* !M68K */
#ifdef ALPHA
#define LOOP 0xc3ffffff
#endif /* ALPHA */
#endif /* !M68K */
#endif /* !I386 */
What should LOOP be for the MIPS?
It appears to be the address of the breakpoint handler, but I'm not sure:
ptrace(PTRACE_POKETEXT, tcp->pid, (char *) tcp->baddr, LOOP);
if (errno) {
perror("setbpt: ptrace(PTRACE_POKETEXT, ...)");
return -1;
}Mike
Signature · 6 lines
#> Mike Shaver ([email protected]) Ingenia Communications Corporation #> Welcome to the technocracy. #> #> "you'd be so disappointed #> to find out that the magic was not #> really meant for you" - OLP