This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [rfc] Print MI fullname even for non-existing files
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'Tom Tromey'" <tromey at redhat dot com>, "'Jan Kratochvil'" <jan dot kratochvil at redhat dot com>
- Cc: "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Thu, 20 Dec 2012 14:32:55 +0000
- Subject: RE: [rfc] Print MI fullname even for non-existing files
- References: <20121217155859.GA8029@host2.jankratochvil.net> <8738z4y1el.fsf@fleche.redhat.com>
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Tom Tromey
> Sent: Monday, December 17, 2012 1:33 PM
> To: Jan Kratochvil
> Cc: gdb-patches@sourceware.org
> Subject: Re: [rfc] Print MI fullname even for non-existing files
>
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> symtab_to_fullname now always returns non-NULL.
>
> Jan> Currently this patch only changes from user point of view MI:
> Jan> (gdb) -file-list-exec-source-file
> Jan> ^done,line="1",file="deleted.c",macro-info="0"
> ->
> Jan>
> ^done,line="1",file="deleted.c",fullname="/path/to/deleted.c",
> macro-info="0"
>
> Jan> Is there a serious reason why fullname was suppressed for
> Jan> non-existing files? While it breaks MI compatibility in
> some way I
> Jan> find it an acceptable change.
>
> It seems pretty reasonable to me as well.
For what it's worth, that is an ok change for Eclipse (we don't
use that command).
Marc