[RFC] Add new command to spit out the linetable for a given file

Andrew Cagney ac131313@redhat.com
Sat Mar 1 15:28:00 GMT 2003


>         (gdb) info sloc <filename>
>         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




More information about the Gdb-patches mailing list