[RFA]: gdbarch FETCH_POINTER_ARGUMENT

Daniel Jacobowitz drow@mvista.com
Tue May 20 20:17: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.

Hmm, maybe a regcache argument though.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list