From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4014 invoked by alias); 1 Mar 2003 15:28:57 -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 4006 invoked from network); 1 Mar 2003 15:28:57 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.209.173) by 172.16.49.205 with SMTP; 1 Mar 2003 15:28:57 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C85DA2B06; Sat, 1 Mar 2003 10:30:58 -0500 (EST) Message-ID: <3E60D232.8010007@redhat.com> Date: Sat, 01 Mar 2003 15:28:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Add new command to spit out the linetable for a given file References: <20030301003358.GB11181@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00010.txt.bz2 > (gdb) info sloc > 0x1234 1 > 0x1238 2 > 0x1239 1 > 0x123d 3 > ... Given that this is intended for use by GUI's, it would surely be better to add an MI command and then have legacy GUI's access it via the interps interface. Andrew