This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: C++/Java regressions
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- Cc: drow at mvista dot com, gdb at sources dot redhat dot com
- Date: 26 Nov 2003 16:33:41 -0500
- Subject: Re: C++/Java regressions
- References: <20031126211736.D4E7F4B40B@berman.michael-chastain.com>
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