From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22414 invoked by alias); 27 Mar 2007 21:42:26 -0000 Received: (qmail 22401 invoked by uid 22791); 27 Mar 2007 21:42:26 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 27 Mar 2007 22:42:22 +0100 Received: from farnswood.snap.net.nz (74.61.255.123.dynamic.snap.net.nz [123.255.61.74]) by viper.snap.net.nz (Postfix) with ESMTP id 2FCE93D8DA5; Wed, 28 Mar 2007 09:42:20 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 317DC627ED; Tue, 27 Mar 2007 22:39:39 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17929.36634.510715.364996@farnswood.snap.net.nz> Date: Tue, 27 Mar 2007 21:42:00 -0000 To: Daniel Jacobowitz Cc: Denis PILAT , gdb-patches@sourceware.org Subject: Re: [RFC] -thread-select double print stack frame In-Reply-To: <20070327193257.GM28164@caradoc.them.org> References: <45FE948B.9090007@st.com> <17919.12645.81319.568064@kahikatea.snap.net.nz> <4607C863.7080405@st.com> <20070327193257.GM28164@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 22.0.96.1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00283.txt.bz2 Daniel Jacobowitz writes: > On Mon, Mar 26, 2007 at 03:19:31PM +0200, Denis PILAT wrote: > > 2007-03-26 Denis Pilat > > > * stack.c (print_stack_frame): alway use LOC_AND_ADDRESS in mi output. > > * infrun.c (normal_stop): remove mi specific frame printing treatment. > > This is basically OK; I agree with Nick that it's the right solution. > It needs some formatting fixes, though. But why do you think that while file and line details are currenly duplicated in MI, they are not in CLI? (I mean what is the underlying logic/cause, not the just the code differences). -- Nick http://www.inet.net.nz/~nickrob