[RFA]: gdbarch FETCH_POINTER_ARGUMENT

Andrew Cagney ac131313@redhat.com
Tue May 20 20:28:00 GMT 2003


> On Tue, May 20, 2003 at 04:07:13PM -0400, Andrew Cagney wrote:
> 
>> Adam,
>> 
>> I need to think about FETCH_POINTER_ARGUMENT.  It needs additional 
>> parameters - something to that lets it fetch registers or memory, and 
>> something identifying the type of pointer.
> 
> 
> I'm curious.  Would you mind expanding on that?  My vision of
> FETCH_POINTER_ARGUMENT was:
>   For a normal function on this architecture whose first N arguments
>   are all pointers (or passed like pointers, etc.) fetch the value of
>   the Nth argument.
> So I don't see how it would need a param specifying registers or
> memory.

``lets it fetch registers or memory'', not ``specify registers or memory''.

> Hmm, maybe a regcache argument though.

Something.  Like I said, I need to think about it.

Andrew




More information about the Gdb-patches mailing list