Re: [RFA] new GDB/MI command: -symbol-info-linetable

Eli Zaretskii
2003-03-10T04:30:05Z

> Date: Sun, 9 Mar 2003 18:19:23 -0800
> From: Thierry Schneider <tpschneider1@yahoo.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@yahoo.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.