aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-09 18:37:27 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-09 18:37:27 +0000
commit741f5e3c63f81da03e3c73b09c0205c3bcac0658 (patch)
tree3ad292810ad0114f7a9d4720cf2a40e21cafa0e6 /gdb/symfile.h
parenta73d2258a7f0bd52aa9a4df764109c9df7f02e26 (diff)
downloadgdb-741f5e3c63f81da03e3c73b09c0205c3bcac0658.zip
gdb-741f5e3c63f81da03e3c73b09c0205c3bcac0658.tar.gz
gdb-741f5e3c63f81da03e3c73b09c0205c3bcac0658.tar.bz2
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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 0e648d0..624df76 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -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);