RFC: Longjmp vs LD_POINTER_GUARD revisited

Mark Kettenis mark.kettenis@xs4all.nl
Sun Nov 15 21:52:00 GMT 2009


> Date: Sun, 15 Nov 2009 18:38:19 +0000 (UTC)
> From: "Joseph S. Myers" <joseph@codesourcery.com>
> 
> On Sun, 15 Nov 2009, Daniel Jacobowitz wrote:
> 
> > should continue stepping.  For x86_64 glibc, the magic name is
> > "__longjmp".  Otherwise, we do a frame check as before.
> 
> Nowadays you may need to handle ____longjmp_chk for glibc 2.11 as well.  
> Because distribution compilers may or may not enable _FORTIFY_SOURCE by 
> default, I suppose in principle the tests should be run explicitly with 
> different settings.

Isn't it a bit ridiculous that glibc, which is a GNU project, makes
the life of GDB, another GNU project, so difficult?



More information about the Gdb-patches mailing list