From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25510 invoked by alias); 5 Aug 2006 02:10:13 -0000 Received: (qmail 25499 invoked by uid 22791); 5 Aug 2006 02:10:12 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 05 Aug 2006 02:10:07 +0000 Received: from kahikatea.snap.net.nz (p202-124-124-7.snap.net.nz [202.124.124.7]) by viper.snap.net.nz (Postfix) with ESMTP id 82E8277FD61; Sat, 5 Aug 2006 14:10:03 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id E2004BE3CD; Sat, 5 Aug 2006 14:08:30 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17619.64925.33169.651834@kahikatea.snap.net.nz> Date: Sat, 05 Aug 2006 02:10:00 -0000 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: stepping over longjmp In-Reply-To: <20060804234544.GA13412@nevyn.them.org> References: <17619.308.218261.761948@kahikatea.snap.net.nz> <20060804131913.GB26799@nevyn.them.org> <17619.51169.377583.613674@kahikatea.snap.net.nz> <20060804234544.GA13412@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00031.txt.bz2 > > > 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