From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11598 invoked by alias); 16 May 2008 16:09:52 -0000 Received: (qmail 11586 invoked by uid 22791); 16 May 2008 16:09:51 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 16:09:31 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1A8D0983F9; Fri, 16 May 2008 16:09:30 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 06EF9983D6; Fri, 16 May 2008 16:09:30 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jx2Ur-0008Jy-6K; Fri, 16 May 2008 12:09:29 -0400 Date: Fri, 16 May 2008 16:09:00 -0000 From: Daniel Jacobowitz To: Aleksandar Ristovski Cc: gdb@sourceware.org Subject: Re: Frame lost after 'leave' and before 'ret' instruction on i386? Message-ID: <20080516160929.GA31961@caradoc.them.org> Mail-Followup-To: Aleksandar Ristovski , gdb@sourceware.org References: <482DA814.7030703@qnx.com> <20080516155828.GA31038@caradoc.them.org> <482DB015.2020801@qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <482DB015.2020801@qnx.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00127.txt.bz2 On Fri, May 16, 2008 at 12:02:29PM -0400, Aleksandar Ristovski wrote: > assuming the problem occurs only while single stepping It doesn't; it also breaks software watchpoints, breakpoints in the epilogue, and random stops with control-c. So we don't know how we got to the current instruction, which makes it tricky to scan backwards. It could probably still be done though. -- Daniel Jacobowitz CodeSourcery