This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] C++ Dwarf2 inner scope PR/789
- From: Jim Blandy <jimb at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 04 Nov 2002 16:04:44 -0500
- Subject: Re: [PATCH] C++ Dwarf2 inner scope PR/789
- References: <200210102027.QAA26250@makai.watson.ibm.com><200210282137.QAA31170@makai.watson.ibm.com>
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.