import gdb-2000-01-05 snapshot

This commit is contained in:
Jason Molenda
2000-01-06 03:07:20 +00:00
parent 1b45fe546b
commit c3f6f71df3
74 changed files with 18148 additions and 14752 deletions

View File

@ -2379,6 +2379,13 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
function_start_offset = valu;
within_function = 1;
if (context_stack_depth > 1)
{
complain (&lbrac_unmatched_complaint, symnum);
break;
}
if (context_stack_depth > 0)
{
new = pop_context ();
@ -2386,9 +2393,6 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile)
finish_block (new->name, &local_symbols, new->old_blocks,
new->start_addr, valu, objfile);
}
/* Stack must be empty now. */
if (context_stack_depth != 0)
complain (&lbrac_unmatched_complaint, symnum);
new = push_context (0, valu);
new->name = define_symbol (valu, name, desc, type, objfile);