This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Remove zero PC check from blockframe.c:inside_main_func()
- From: Mark Kettenis <kettenis at chello dot nl>
- To: kettenis at chello dot nl
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 16 Dec 2003 22:24:11 +0100
- Subject: Re: [PATCH] Remove zero PC check from blockframe.c:inside_main_func()
Date: Sat, 13 Dec 2003 16:09:29 +0100 (CET)
From: Mark Kettenis <kettenis@chello.nl>
It really makes no sense to check for a zero PC here. This function
is only colled from frame.c:get_prev_frame(), and there we already
deal with PC being zero.
[...]
Objections. Otherwise I'll commit this within a few days.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Needed to fix PR backtrace/1476.
I've checked this in now.