forked from Imagelibrary/binutils-gdb
gdb/
Fix initial language detection with -readnow. * dwarf2read.c (dw2_find_symbol_file): Handle OBJF_READNOW case. * symfile.h (struct quick_symbol_functions): State find_symbol_file searches only for global symbols. gdb/testsuite/ Fix initial language detection with -readnow. * gdb.cp/readnow-language.cc: New file. * gdb.cp/readnow-language.exp: New file.
This commit is contained in:
@@ -222,7 +222,7 @@ struct quick_symbol_functions
|
||||
void (*expand_symtabs_with_filename) (struct objfile *objfile,
|
||||
const char *filename);
|
||||
|
||||
/* Return the file name of the file holding the symbol in OBJFILE
|
||||
/* Return the file name of the file holding the global symbol in OBJFILE
|
||||
named NAME. If no such symbol exists in OBJFILE, return NULL. */
|
||||
const char *(*find_symbol_file) (struct objfile *objfile, const char *name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user