From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28539 invoked by alias); 5 Nov 2004 15:00:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28524 invoked from network); 5 Nov 2004 15:00:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 Nov 2004 15:00:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA5F0Ew8019273 for ; Fri, 5 Nov 2004 10:00:14 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA5F0Dr12649; Fri, 5 Nov 2004 10:00:13 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C083B129D8C; Fri, 5 Nov 2004 09:59:58 -0500 (EST) Message-ID: <418B956D.7050800@gnu.org> Date: Fri, 05 Nov 2004 15:00:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Nick Roberts Cc: gdb@sources.redhat.com Subject: Re: Changing "info frame" output? References: <16777.17132.404232.210442@farnswood.snap.net.nz> In-Reply-To: <16777.17132.404232.210442@farnswood.snap.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00045.txt.bz2 Nick Roberts wrote: > >>and with that in mind have come up with the following as a draft: > > >>Stack level 1, frame at 0x7ffff240: >> Code at 0x1005e5f8 in fprintf_filtered (stream=0x10467888, >> format=0x10371b74 "GNU gdb %s\n") >> at /home/scratch/PENDING/2004-10-29-full-location/src/gdb/utils.c:2231 >> called by frame at 0x7ffff260, caller of frame at 0x7ffff1c0 >> Source language c. >> Frame base at 0x7ffff1c0. >> Registers saved by this frame: >> pc at 0x7ffff244, lr at 0x7ffff244 > > > ... > >>thoughts, > > > Well gdb-ui.el in CVS Emacs uses the existing info frame" output to update the > GUI. If you are going to change this output then I think it is important to > have an equivalent MI command whose output is stable. I started a thread about > this on the gdb mailing list back in June, and posted a patch, probably lousy, > on gdb-patches: What exactly does EMACS use? Sigh! > http://sources.redhat.com/ml/gdb-patches/2004-06/msg00652.html > > to describe the functionality I was hoping to have and which was titled: > > [RFC] (was Re: How does GDB/MI give the current frame). > > Could this be included in the discussion too, please. Start a new thread (I don't know why I missed it). My only memory in this area is that there needs to be both a light-weight and heavy weight frame info call (info frame is heavy weight - it forces a full frame unwind). Andrew