This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Adding -file-list-exec-source-file command to GDB/MI
On Tue, Feb 11, 2003 at 08:38:56AM +0200, Eli Zaretskii wrote:
>
> On Mon, 10 Feb 2003, Bob Rossi wrote:
>
> > This is a patch to add -file-list-exec-source-file to GDB. The command
> > returns to the client the absolute path and line number of the current
> > executable.
>
> Thanks.
>
> But what happens if the debug format doesn't support full file names?
> COFF debug info is one such case; what does the command do in that case?
I think it should act the way annotate 1 acts. Since this is the
de-facto standard for getting the current file that gdb is on.
How could I test this case? Can you give me a simple way to create an
executable that has the COFF debug format in it?
Thanks,
Bobby