mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
* symfile.c (symbol_file_clear): Test symfile_objfile is not NULL before dereferencing it. Gettextize the query.
This commit is contained in:
parent
ce37844efa
commit
0430b0d6a5
@ -1,3 +1,9 @@
|
||||
2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
|
||||
|
||||
* symfile.c (symbol_file_clear): Test symfile_objfile is not NULL
|
||||
before dereferencing it.
|
||||
Gettextize the query.
|
||||
|
||||
2005-12-02 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
GDB 6.4 released from GDB 6.4 branch.
|
||||
|
@ -1085,8 +1085,10 @@ symbol_file_clear (int from_tty)
|
||||
{
|
||||
if ((have_full_symbols () || have_partial_symbols ())
|
||||
&& from_tty
|
||||
&& !query ("Discard symbol table from `%s'? ",
|
||||
symfile_objfile->name))
|
||||
&& (symfile_objfile
|
||||
? !query (_("Discard symbol table from `%s'? "),
|
||||
symfile_objfile->name)
|
||||
: !query (_("Discard symbol table? "))))
|
||||
error (_("Not confirmed."));
|
||||
free_all_objfiles ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user