This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 6/9] Mechanical symtab->filename -> symtab_to_filename
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Tom> This spot still uses symtab->filename directly.
Tom> Is that intentional? If so I think it should perhaps have a comment.
Jan> Yes.
Jan> + /* Check first sole SYMTAB->FILENAME. It does not need to be
Jan> + a substring of symtab_to_fullname as it may contain "./" etc. */
Sorry, missed that.
Tom> This spot uses filename_cmp with symtab_to_filename.
Tom> Is that intentional?
Tom> It seems a bit strange to me to allow the filename-display setting to
Tom> control comparisons.
Jan> Because this is a maintenance command.
Ok, I see. I'm satisfied.
Tom