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: [RFC] Add new command to spit out the linetable for a given file


> Date: Fri, 28 Feb 2003 16:33:58 -0800
> From: Joel Brobecker <brobecker at gnat dot com>
> 
>         (gdb) info sloc <filename>
>         0x1234    1
>         0x1238    2
>         0x1239    1
>         0x123d    3
>         ...
> 
> This shouldn't be too hard to implement, and should help GVD a lot.
> What do you think?

FWIW, I don't see anything wrong with adding such a command.

Please don't forget the appropriate doco patch if you do.


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