This is the mail archive of the gdb-patches@sourceware.org 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] 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.

Jan> +set f [open ${objdir}/${subdir}/${srcfile} "w"]

standard_output_file, here and elsewhere.

Tom


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