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, frame] Add backtrace stop reasons


On Tue, Aug 22, 2006 at 04:41:31PM -0400, Daniel Jacobowitz wrote:
> On Tue, Aug 22, 2006 at 10:37:53PM +0200, Mark Kettenis wrote:
> > Perhaps you should post that updated patch!
> 
> Sure; here it is.

> 2006-08-19  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* frame.c (struct frame_info): Add stop_reason.
> 	(get_prev_frame_1): Set stop_reason.  Don't call error for
> 	stop reasons.
> 	(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
> 	* frame.h (enum unwind_stop_reason): New.
> 	(get_frame_unwind_stop_reason, frame_stop_reason_string): New
> 	prototypes.
> 	* stack.c (frame_info): Print the stop reason.
> 	(backtrace_command_1): Print the stop reason for errors.

Mark, I believe you were happy with this version of the patch; is that
right?  No one else commented, so if you think it's OK, I will check it
in.

The second patch from this group of three definitely requires more
discussion, but the third was pretty clear-cut, and Michael reminded
me that I hadn't gotten back to it.  It could be untangled from this
one, but if this is OK, I'd rather put it in first.

-- 
Daniel Jacobowitz
CodeSourcery


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