From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31133 invoked by alias); 2 Feb 2003 18:23:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31121 invoked from network); 2 Feb 2003 18:23:31 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.209.173) by 172.16.49.205 with SMTP; 2 Feb 2003 18:23:31 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A887B3CB0; Sun, 2 Feb 2003 13:23:23 -0500 (EST) Message-ID: <3E3D621B.5040700@redhat.com> Date: Sun, 02 Feb 2003 18:23:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: Jason Molenda , gdb-patches@sources.redhat.com, jjohnstn@redhat.com Subject: Re: PATCH RFA: Fix MI stack frame output for synthetic frames References: <20021108142248.A65720@molenda.com> <3DCC3CEE.5040902@redhat.com> <20021109004723.A20334@molenda.com> <3E3CB218.1020706@redhat.com> <861y2qtwf8.fsf@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00046.txt.bz2 > Anyway, I propose the attached fix. OK to check that in? Ulgh. Yes, thanks. > Index: ChangeLog > from Mark Kettenis > > * stack.c (print_frame_info): Restore call to annotate_frame_begin > lost in the previous patch. > > Index: stack.c > =================================================================== > RCS file: /cvs/src/src/gdb/stack.c,v > retrieving revision 1.64 > diff -u -p -r1.64 stack.c > --- stack.c 2 Feb 2003 05:51:08 -0000 1.64 > +++ stack.c 2 Feb 2003 17:37:44 -0000 > @@ -203,6 +203,8 @@ print_frame_info (struct frame_info *fi, > struct cleanup *uiout_cleanup > = make_cleanup_ui_out_tuple_begin_end (uiout, "frame"); > > + annotate_frame_begin (level == -1 ? 0 : level, get_frame_pc (fi)); > + > /* Do this regardless of SOURCE because we don't have any source > to list for this frame. */ > if (level >= 0) > @@ -216,7 +218,7 @@ print_frame_info (struct frame_info *fi, > ui_out_field_core_addr (uiout, "addr", fi->pc); > annotate_frame_address_end (); > } > - > + > if (get_frame_type (fi) == DUMMY_FRAME) > { > annotate_function_call (); >