Complete symbol construction before adding to pending list.
authorSami Wagiaalla <swagiaal@redhat.com>
Mon, 9 Aug 2010 20:34:06 +0000 (20:34 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Mon, 9 Aug 2010 20:34:06 +0000 (20:34 +0000)
commite37fd15a52f02219b85b4d4a27973c7be1ee9951
tree19e01336b4a32f3c3bcd4f85d9e338f455f57117
parent45c58896fccae96ae023059410027791537cb285
Complete symbol construction before adding to pending list.

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

* dwarf2read.c (new_symbol): Add symbol to variable list at end of
function after symbol construction is complete.
Do the same for template symbol addition to template_symbols list.
gdb/ChangeLog
gdb/dwarf2read.c