This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]