I think this is obvious; please go ahead and commit it. However, instead of using <unknown> when symfile_objfile is NULL, just use two distinct prompt strings: "Discard symbol table from `%s'? " and "Discard symbol table? ".