* symfile.c (symbol_file_add_main_1): Use inferior's