C++/Java regressions
Ian Lance Taylor
ian@wasabisystems.com
Wed Nov 26 21:33:00 GMT 2003
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
More information about the Gdb
mailing list