Under the 386 kernel, the debugger breaks into the sleep() call, and the "finish" gdb command immediately terminates the sleep(); then I proceed to debug the code.
When I try this trick on Opteron, I find that the "finish" command does not immediately terminate. The process seems to continue to sleep for the prescribed amount of time. Obviously, this slows things down. Is there a trick that I can do to immediately terminate the sleep syscall on Opteron?
Attachment:
pgpZpyjzzoU8f.pgp
Description: PGP signature