This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]