This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 8/9] Fix .gdb_index for real and absolute filenames
- 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: Wed, 23 Jan 2013 14:34:52 -0700
- Subject: Re: [patch 8/9] Fix .gdb_index for real and absolute filenames
- References: <20130117222405.GI16249@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> + char *symtab_real;
Jan> +
Jan> + symtab_real = gdb_realpath (symtab_to_fullname (real_symtab));
Jan> + if (file_matches (symtab_real, files, nfiles))
Jan> + match = 1;
Jan> + xfree (symtab_real);
IIUC the realpath is cached for partial symtabs but not full symtabs.
If so, why the disparity?
Tom