Messages in this thread | | | Date | Sun, 21 Nov 2004 15:14:39 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: ptrace single-stepping change breaks Wine |
| |
On Sun, 21 Nov 2004, Linus Torvalds wrote:
> void handler(int signo) > { > extern char smc; > smc++; > } > > asm volatile("\nsmc:\n\t" > ".byte 0xb7\n\t" > ".long function" > :"=d" (fnp)); > fnp();
You know you're sick, don't you? Making traps inc's to get you in the correct opcode to move function in edx->fnp, is indeed fruit of a sick mind :=)
- Davide
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |