On Thu, Sep 29, 2005 at 04:14:02PM +0200, Blaisorblade wrote: > I now even found (by chance) the original mail from Allan Graves - and the > changes in arch/um/include/sysdep-x86_64/ptrace.h weren't in his patch and > are unrelated. > Plus, I think they're also bogus (those registers exist), but I may be wrong, The patch uses UPT_REG apparently for the first time. Those registers exist, but there are no defines for them in the x86_64 ptrace.h. UPT_REG is never called with any of those as its argument, so it's easy to just remove those cases.
> On the bogus value: I'm more accustomed to 0xdeadbeef, since 0xbadbabe could > be valid while 0xdeadbeef not (it's in the last giga). Yeah, that makes sense. > The only problem I see is that we need to test it on a wide glibc range - > you're using an internal header detail, so glibc will break it at will. Yeah, it's bad. The other way to do it is to explictly save the registers in the thread struct, which is effectively the reimplementing setjmp option which you mentioned. Jeff ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel