Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: Adam Fedor <fedor@doc.com>,
	GDB Patches <gdb-patches@sources.redhat.com>,
	Daniel Jacobowitz <drow@mvista.com>
Subject: Re: [RFA]: gdbarch FETCH_POINTER_ARGUMENT
Date: Thu, 22 May 2003 19:16:00 -0000	[thread overview]
Message-ID: <3ECD2201.5040306@redhat.com> (raw)
In-Reply-To: <3ECA8AF1.10001@redhat.com>

Adam,

I think the FETCH_POINTER_ARGUMENT method should have the signature:

(CORE_ADDR) (struct frame_info *frame, int argi, struct type *type)

the call would then look like:

addr = gdbarch_fetch_pointer_argument (current_gdbarch, 
get_current_frame (), argi, builtin_type_void_func_ptr);

See: cooked regcache -> frame
http://sources.redhat.com/ml/gdb/2003-05/msg00287.html

for the rationale,

Andrew


  parent reply	other threads:[~2003-05-22 19:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19  3:12 Adam Fedor
2003-05-20 20:07 ` Andrew Cagney
2003-05-20 20:17   ` Daniel Jacobowitz
2003-05-20 20:28     ` Andrew Cagney
2003-05-22 19:16   ` Andrew Cagney [this message]
2003-05-30  3:05     ` Adam Fedor
2003-05-30 19:26       ` Andrew Cagney
2003-05-30 20:19         ` Daniel Jacobowitz
2003-05-30 21:33           ` Andrew Cagney
2003-06-01  4:02         ` Adam Fedor
2003-06-01 22:55           ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ECD2201.5040306@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=fedor@doc.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox