This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: should minimal symbols be able to force lookup_symbol to return NULL?
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb <gdb at sources dot redhat dot com>
- Cc: Elena Zannoni <ezannoni at redhat dot com>, Jim Blandy <jimb at redhat dot com>
- Date: 30 Oct 2002 15:15:00 -0800
- Subject: Re: should minimal symbols be able to force lookup_symbol to return NULL?
- References: <ro1vg3mtlv4.fsf@jackfruit.Stanford.EDU>
On 28 Oct 2002 11:16:31 -0800, David Carlton <carlton@math.Stanford.EDU> said:
> Currently, it seems to me that, when lookup_symbol_aux is searching
> the minsyms, if it finds a minsym without a corresponding symbol,
> then lookup_symbol_aux will return NULL without proceeding on to the
> check of the static symtabs/psymtabs.
This isn't true: it only sometimes does that (if either it can find a
symtab at the right address or if it wants to try a name lookup with
the mangled name). Sigh. This is a mess.
David Carlton
carlton@math.stanford.edu