This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Abort backtrace when consecutive zero PCs?
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sources dot redhat dot com
- Date: Wed, 15 Sep 2004 18:13:29 -0400
- Subject: Re: Abort backtrace when consecutive zero PCs?
- References: <41487D1D.7040504@gnu.org>
On Wed, Sep 15, 2004 at 01:34:21PM -0400, Andrew Cagney wrote:
> Hello,
>
> One backtrace infinite loop case I've noticed (especially on ia64) is
> where successive frames all have a zero PC.
>
> While we definitly need to allow a backtrace through a single zero PC
> (for a NULL pointer call - signull.exp) should we make GDB abort when
> two or more consecutive frames have a zero PC?
>
> (mumble something about a runtime option)
>
> thoughts?
I still think that you want to reject zero PC followed by a normal
(non-signal/dummy) frame, for exactly this reason...
--
Daniel Jacobowitz