This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stepping over longjmp


 > >  > Does export LD_POINTER_GUARD=0 make a difference?
 > > 
 > > No.
 > 
 > Hmm, then it must be something else.

Actually, it does work if it's set for both compilation and execution.  I also
updated to 2.4-8 (from 2.4-4).  I don't know if that was necessary but on the
Internet I saw:

> You can disable the encryption using the LD_POINTER_GUARD environment
> variable.  Unfortunately the glibc version so far in FC5 has a little
> bug.  The next update will allow you to specify LD_POINTER_GUARD=0.
>
> But this is really the wrong solution.  The program should be  
> rewritten
> to use __builtin_frame_address (see the gcc manual).
>
> -- Ulrich Drepper

-- 
Nick                                           http://www.inet.net.nz/~nickrob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]