This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] new GDB/MI command: -symbol-info-linetable
- From: "Eli Zaretskii" <eliz at elta dot co dot il>
- To: tpschneider1 at yahoo dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 10 Mar 2003 06:24:45 +0200
- Subject: Re: [RFA] new GDB/MI command: -symbol-info-linetable
- References: <20030310021923.GB27274@gnat.com>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> Date: Sun, 9 Mar 2003 18:19:23 -0800
> From: Thierry Schneider <tpschneider1 at yahoo dot com>
>
> 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 <tpschneider1 at yahoo dot com>
>
> * 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.