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

Mark Kettenis kettenis@chello.nl
Sun Dec 21 21:20:00 GMT 2003


   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.



More information about the Gdb-patches mailing list