This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] findvar.c: support LOC_BASEREG[_ARG] on Harvard archs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]