From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9367 invoked by alias); 5 Nov 2004 19:53:53 -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 9356 invoked from network); 5 Nov 2004 19:53:51 -0000 Received: from unknown (HELO farnswood.snap.net.nz) (202.124.110.70) by sourceware.org with SMTP; 5 Nov 2004 19:53:51 -0000 Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 2003B627EE; Fri, 5 Nov 2004 19:47:28 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16779.55504.399642.43004@farnswood.snap.net.nz> Date: Fri, 05 Nov 2004 19:53:00 -0000 To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: How can GDB/MI give the current frame (was Re: Changing "info frame" output?) In-Reply-To: <418B956D.7050800@gnu.org> References: <16777.17132.404232.210442@farnswood.snap.net.nz> <418B956D.7050800@gnu.org> X-SW-Source: 2004-11/txt/msg00046.txt.bz2 > What exactly does EMACS use? Sigh! Very little. Just the address, procedure name, filename and line no. (if available). I used the command "frame" initially, but its output wasn't as consistent. > 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). It sounds like all I would need is the lightweight call via MI. I called `my command' "-stack-info-frame", after looking at the GDB manual, and out of ignorance. "-stack-frame" might be more appropriate. Nick