[PATCH] C++ Dwarf2 inner scope PR/789

Jim Blandy jimb@redhat.com
Mon Nov 4 13:19:00 GMT 2002


David Edelsohn <dje@watson.ibm.com> writes:
> 	Any status on PR gdb/789 and the patch earlier in this thread?

I think the patch breaks into two parts:

First, restoring local_symbols and param_symbols from the popped
context seems right.  That's a two-line fix, so I'll just make it
myself, with credit to you.

I think restoring prev_list_in_scope can be done more simply, by
checking whether context_stack is empty: if it is, then the list in
scope is file_symbols; otherwise, it's local_symbols.

However, I've seen some odd behavior when running your test case that
I want to understand before I proceed with this.  I appreciate your
patience.



More information about the Gdb-patches mailing list