This is the mail archive of the gdb-patches@sourceware.org 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] |
I updated my patch to deal with this as long as the suggestions from Tom and Yao.
I think in cp_set_block_scope, we should set scope name on a block regardless of whether processing_has_namespace_info has been set. For the cases that we only have classes but no namespaces, we still need scope information to tell us which symbols are valid in a block.
How about this?
+ /* Just set the scope name if we get a valid one. */
-- Yao Qi CodeSourcery yao@codesourcery.com (650) 331-3385 x739
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |