This is the mail archive of the gdb@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: C++/Java regressions


mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:

> Briefly, the call tree is:
> 
>   lookup_symbol_aux
>     current_language->la_lookup_symbol_nonlocal
>       lookup_symbol_file
> 	lookup_symbol_static                    [1]
> 	lookup_symbol_aux_block
> 	lookup_symbol_global                    [2]
> 	lookup_possible_namespace_symbol        [3]
>     lookup_symbol_aux_symtabs                   [4]
>     lookup_symbol_aux_psymtabs
> 
> You are probably getting a hit at [3].
> 
> Check the value of "block" in lookup_symbol_file.  I bet that
> you have block=0.  That prevents [1] from finding a match in the current
> static block.

Yes, block == 0.  Sounds you like have the right analysis.

> I think the right fix is to pass a correct "block" to local_symbol_aux
> so that [1] can do its job properly.

I have no idea what this involves, myself.

Ian


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