2005-12-01 Andrew Stubbs * symfile.c (symbol_file_clear): Test symfile_objfile is not NULL before dereferencing it. Gettextize the query. Index: src/gdb/symfile.c =================================================================== --- src.orig/gdb/symfile.c 2005-12-01 12:05:58.000000000 +0000 +++ src/gdb/symfile.c 2005-12-01 15:21:17.000000000 +0000 @@ -1085,8 +1085,8 @@ symbol_file_clear (int from_tty) { if ((have_full_symbols () || have_partial_symbols ()) && from_tty - && !query ("Discard symbol table from `%s'? ", - symfile_objfile->name)) + && !query (_("Discard symbol table from `%s'? "), + symfile_objfile ? symfile_objfile->name : _(""))) error (_("Not confirmed.")); free_all_objfiles ();