This is the mail archive of the gdb-patches@sourceware.org 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: RFC: lazily call save_current_space_and_thread


On Tuesday 08 March 2011 19:49:57, Tom Tromey wrote:
> Pedro> I think the case at hand is while we're handling internal
> Pedro> events, before giving the prompt to the user.  Is that so?
> 
> Tom> Yes, that is what is happening.
> Tom> I will try to reword the comment to be more clear.
> 
> What do you think of this?
> 
> 	  /* When processing internal events, there might not be a
> 	     selected frame.  If we naively call get_selected_frame
> 	     here, then we can end up reading debuginfo for the
> 	     current frame, but we don't generally need the debuginfo
> 	     at this point.  */

Perfect.  Thanks.

-- 
Pedro Alves


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