Re: [PATCH] Remove zero PC check from blockframe.c:inside_main_func()

Mark Kettenis
2003-12-21T21:20:58Z

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.