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]
Other format: [Raw text]

Re: [RFA]: gdbarch FETCH_POINTER_ARGUMENT


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



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