This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] findvar.c: support LOC_BASEREG[_ARG] on Harvard archs
- To: jimb at cygnus dot com
- Subject: Re: [RFA] findvar.c: support LOC_BASEREG[_ARG] on Harvard archs
- From: Nick Duffek <nsd at redhat dot com>
- Date: Mon, 16 Jul 2001 18:59:22 -0400
- CC: ezannoni at cygnus dot com, gdb-patches at sources dot redhat dot com, taylor at candd dot org
- References: <npsnfwy0u8.fsf@zwingli.cygnus.com>
On 16-Jul-2001, Jim Blandy wrote:
>Nick Duffek <nsd@redhat.com> writes:
>> Aren't LOC_INDIRECT addresses from the symbol table and therefore already
>> Harvard-adjusted?
>SYMBOL_VALUE_ADDRESS (var) is already an address, but the value
>returned by read_memory_unsigned_integer will not be.
Oh, right.
>> I think that architectures already handle this in their own
>> FRAME_ARGS_ADDRESS implementations, so this would do double pointer
>> translation.
>Similar --- read_memory_unsigned_integer will return a value which
>needs to be tweaked.
Likewise.
>Your revisions below look okay to me.
I've committed those,
Nick