From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23228 invoked by alias); 5 Oct 2006 22:33:44 -0000 Received: (qmail 23220 invoked by uid 22791); 5 Oct 2006 22:33:43 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 05 Oct 2006 22:33:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GVbmZ-00049g-LM for gdb-patches@sourceware.org; Thu, 05 Oct 2006 18:33:35 -0400 Date: Thu, 05 Oct 2006 22:33:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc, frame] Add backtrace stop reasons Message-ID: <20061005223335.GD14087@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060822204131.GA31802@nevyn.them.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00041.txt.bz2 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 > > * 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