Fixed stabs cplus_specific issue
authorSami Wagiaalla <swagiaal@redhat.com>
Mon, 9 Aug 2010 20:13:51 +0000 (20:13 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Mon, 9 Aug 2010 20:13:51 +0000 (20:13 +0000)
commit45c58896fccae96ae023059410027791537cb285
tree90afe95f7ea77cfb0c72dbc1489444c030ce97a6
parent776167e8fa07df96f999a0593f1dc536c80bc1cb
Fixed stabs cplus_specific issue

2010-08-09  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.c (symbol_get_demangled_name): Remove assertion and
return NULL when language_specific.cplus_specific is not initialized.
* stabsread.c (define_symbol): Set the name before calling
cp_scan_for_anonymous_namespaces.
gdb/ChangeLog
gdb/stabsread.c
gdb/symtab.c