This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Add new command to spit out the linetable for a given file
- From: "Eli Zaretskii" <eliz at elta dot co dot il>
- To: brobecker at gnat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 01 Mar 2003 14:35:26 +0200
- Subject: Re: [RFC] Add new command to spit out the linetable for a given file
- References: <20030301003358.GB11181@gnat.com>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> 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.