From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12347 invoked by alias); 23 Dec 2005 08:25:17 -0000 Received: (qmail 12328 invoked by uid 22791); 23 Dec 2005 08:25:15 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Dec 2005 08:25:13 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-58-219.inter.net.il [80.230.58.219]) by romy.inter.net.il (MOS 3.7.2-GA) with ESMTP id DFN87615 (AUTH halo1); Fri, 23 Dec 2005 10:25:06 +0200 (IST) Date: Fri, 23 Dec 2005 08:25:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sourceware.org In-reply-to: <20051222211734.GA13178@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 22 Dec 2005 16:17:34 -0500) Subject: Re: Stepping over longjmp presumably broken for glibc Reply-to: Eli Zaretskii References: <20051222211734.GA13178@nevyn.them.org> 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: 2005-12/txt/msg00181.txt.bz2 > Date: Thu, 22 Dec 2005 16:17:34 -0500 > From: Daniel Jacobowitz > Cc: libc-alpha@sourceware.org > > Current versions of glibc for many platforms xor the saved PC with a > randomized canary, so setting a breakpoint at that "address" isn't > going to work especially well. How does glibc restore the correct address when you call longjmp? Do they save the canary in some place, or something?