5/5 - handle glibc pointer mangling jmp_bufs (x86/x86_64)

Pedro Alves pedro@codesourcery.com
Mon Apr 7 06:31:00 GMT 2008


I came up with this patch so I could test the longjmp patches
on x86_64-unknown-linux-gnu and x86-pc-linux-gnu.  It was inspired on 
a 2006 patch by Jan Kratochvil.

I'm not proposing this to go in, as it will brake glibc's where
the pointer mangling is not implemented or is implemented
differently.  Maybe we could get around this 99% of the
times by switching the unmangling algorithm based on glibc's
version, although I don't know how to get at glibc's version.

-- 
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longjmp_linux_x86_amd64_pointer_demangle.diff
Type: text/x-diff
Size: 13466 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080407/19b5c70b/attachment.bin>


More information about the Gdb-patches mailing list