From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27180 invoked by alias); 16 May 2008 17:28:55 -0000 Received: (qmail 27170 invoked by uid 22791); 16 May 2008 17:28:54 -0000 X-Spam-Check-By: sourceware.org Received: from qnxmail.qnx.com (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 17:28:37 +0000 Received: from [10.42.100.129] (min.ott.qnx.com [10.42.100.129]) by nimbus.ott.qnx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id K6WT3Q6Y; Fri, 16 May 2008 13:28:34 -0400 Message-ID: <482DC452.1020102@qnx.com> Date: Fri, 16 May 2008 17:28:00 -0000 From: Aleksandar Ristovski User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Mark Kettenis CC: gdb@sourceware.org Subject: Re: Frame lost after 'leave' and before 'ret' instruction on i386? References: <482DA814.7030703@qnx.com> <200805161723.m4GHNvWv024856@brahms.sibelius.xs4all.nl> In-Reply-To: <200805161723.m4GHNvWv024856@brahms.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00131.txt.bz2 Mark Kettenis wrote: > The compiler is supposed to give us unwind info for the function's > epilogue, but unfortunately GCC doesn't. There's not much we can do > about it in GDB. Fortunately it isnt an issue that users see a lot. > Out of curiosity: what is the problem with specifying epilogue? Am I wrong when I say that there can be only so many epilogue types (i.e. compiler will not generate infinite number of epilogues)? Therefore, only one index in a 'epilogue description table' would suffice... (or am I over-simplifying?)