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: [patch 8/9] Fix .gdb_index for real and absolute filenames


>>>>> "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


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