This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: gdbarch FETCH_POINTER_ARGUMENT
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Adam Fedor <fedor at doc dot com>,GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Tue, 20 May 2003 16:17:18 -0400
- Subject: Re: [RFA]: gdbarch FETCH_POINTER_ARGUMENT
- References: <3EC84B9A.8030505@doc.com> <3ECA8AF1.10001@redhat.com>
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