Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com
Subject: Re: stepping over longjmp
Date: Sat, 05 Aug 2006 02:10:00 -0000	[thread overview]
Message-ID: <17619.64925.33169.651834@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20060804234544.GA13412@nevyn.them.org>

 > >  > 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


  reply	other threads:[~2006-08-05  2:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04  8:13 Nick Roberts
2006-08-04 13:19 ` Daniel Jacobowitz
2006-08-04 22:20   ` Nick Roberts
2006-08-04 23:45     ` Daniel Jacobowitz
2006-08-05  2:10       ` Nick Roberts [this message]
2006-08-05  2:33         ` Daniel Jacobowitz
2006-08-05  6:10           ` Nick Roberts
2006-08-05 12:28             ` Eli Zaretskii
2006-08-05 12:40         ` Mark Kettenis
2006-08-05 14:07           ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17619.64925.33169.651834@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox