This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc, frame] Add backtrace stop reasons
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 5 Oct 2006 18:33:35 -0400
- Subject: Re: [rfc, frame] Add backtrace stop reasons
- References: <20060819154646.GA25238@nevyn.them.org> <200608201438.k7KEcJho022644@elgar.sibelius.xs4all.nl> <20060820162821.GA20987@nevyn.them.org> <200608222009.k7MK9Vmu002926@elgar.sibelius.xs4all.nl> <20060822202425.GA30970@nevyn.them.org> <200608222037.k7MKbr0V014016@elgar.sibelius.xs4all.nl> <20060822204131.GA31802@nevyn.them.org>
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