This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: only force symbol lookups with local variables on hppa
On Mon, Aug 21, 2006 at 09:32:29PM -0400, Mike Frysinger wrote:
> On Sunday 20 August 2006 09:57, Daniel Jacobowitz wrote:
> > As a followup, there are several better options:
>
> hmm, is there a spec somewhere that says what order symbols need to be
> resolved ? how about an alternative option:
> - in write_dollar_variable(), if the symbol starts with a '$', we first try
> to look it up via lookup_internalvar() ... if that fails, we fall back to
> lookup_symbol() and lookup_minimal_symbol() and then jump back to the
> lookup_internalvar() ...
Hmm... that's also an interesting option. I have no opinion.
--
Daniel Jacobowitz
CodeSourcery