* linespec.c (convert_linespec_to_sals): New comment for
SOURCE_FILENAME assignment.
2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * linespec.c (convert_linespec_to_sals): New comment for
+ SOURCE_FILENAME assignment.
+
+2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* cleanups.c (restore_my_cleanups): Replace gdb_assert by
internal_warning.
{
const char *fullname = symtab_to_fullname (state->default_symtab);
+ /* It may be more appropriate to keep DEFAULT_SYMTAB in its symtab
+ form so that displaying SOURCE_FILENAME can follow the current
+ FILENAME_DISPLAY_STRING setting. But as it is used only rarely
+ it has been kept for code simplicity only in absolute form. */
ls->source_filename = xstrdup (fullname);
}
}