gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 18:37:27 +0000 (18:37 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 9 Oct 2011 18:37:27 +0000 (18:37 +0000)
commit741f5e3c63f81da03e3c73b09c0205c3bcac0658
tree3ad292810ad0114f7a9d4720cf2a40e21cafa0e6
parenta73d2258a7f0bd52aa9a4df764109c9df7f02e26
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symfile.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/readnow-language.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/readnow-language.exp [new file with mode: 0644]