From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6534 invoked by alias); 10 Mar 2003 04:30:05 -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 6527 invoked from network); 10 Mar 2003 04:30:05 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by 172.16.49.205 with SMTP; 10 Mar 2003 04:30:05 -0000 Received: from zaretsky ([80.230.235.167]) by aragorn.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AIF49342; Mon, 10 Mar 2003 06:29:57 +0200 (IST) Date: Mon, 10 Mar 2003 04:30:00 -0000 From: "Eli Zaretskii" To: tpschneider1@yahoo.com Message-Id: <8962-Mon10Mar2003062445+0200-eliz@elta.co.il> CC: gdb-patches@sources.redhat.com In-reply-to: <20030310021923.GB27274@gnat.com> (message from Thierry Schneider on Sun, 9 Mar 2003 18:19:23 -0800) Subject: Re: [RFA] new GDB/MI command: -symbol-info-linetable Reply-to: Eli Zaretskii References: <20030310021923.GB27274@gnat.com> X-SW-Source: 2003-03/txt/msg00210.txt.bz2 > Date: Sun, 9 Mar 2003 18:19:23 -0800 > From: Thierry Schneider > > I have implemented in a new command that dumps the linetable > for a given source file. As recommended, I have made it a GDB/MI > command, intead of a CLI command. > > Here is an example (from the documentation I wrote) of this command in > action: > > (gdb) > -symbol-info-linetable basics.c > ^done,linetable=[{pc="0x08048554",line="7"},{pc="0x0804855a",line="8"}] > (gdb) > > Here is the ChangeLog: > > 2003-03-09 Thierry Schneider > > * mi-main.c (mi_cmd_symbol_info_linetable): New function. > * mi-cmds.h (mi_cmd_symbol_info_linetable): Add declaration. > * mi-cmds.c (mi_cmds): Add entry for new MI command. > * gdbmi.texinfo (GDB/MI Symbol Query): Add documentation for > new MI command. The doco part is okay, thanks.