This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]