This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 4/9] TUI: Use internally fullname
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Jan 2013 11:57:31 -0700
- Subject: Re: [patch 4/9] TUI: Use internally fullname
- References: <20130117215935.GE16249@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> TUI was using comp_dir-relative "filaname" during matching.
Looks good to me.
Jan> - && (filename_cmp (src->filename, loc->symtab->filename) == 0)
Jan> + && filename_cmp (src->fullname,
Jan> + symtab_to_fullname (loc->symtab)) == 0
After your patches is it ever ok to refer directly to symtab->filename?
Tom