From: Fernando Nasser <fnasser@cygnus.com>
To: Doug Evans <dje@transmeta.com>
Cc: gdb@sources.redhat.com
Subject: Re: to_query target_ops entry
Date: Fri, 23 Feb 2001 14:45:00 -0000 [thread overview]
Message-ID: <3A96E7FC.C196B43@cygnus.com> (raw)
In-Reply-To: <14998.58726.866822.724540@casey.transmeta.com>
Doug Evans wrote:
>
> But as for the intended argument usage, here's what I wrote up.
> Let me know if this is wrong, too constrained, or not constrained enough.
> I wanted this to be rather constrained to avoid future headaches.
>
> /* Query the simulator for something (this is the `to_query' target_ops entry).
> What it is is up to the simulator.
>
> TYPE is a printable character. Pass '-' for "don't care".
> If there is a failure, the error message is in RESP.
> SIZE is the maximum size of both REQ and RESP.
> REQ is a string containing the request.
> The contents of RESP are up to the request.
>
> If REQ is NULL, the caller is requesting the maximum request size.
> On return the maximum size is stored in *SIZE.
> Otherwise SIZE is unchanged on return.
>
> The result is 0 for success, non-zero for failure.
> If the simulator doesn't implement this, it always returns -1 and
> "not implemented" is stored in RESP.
> RESP is assumed to be at least MIN_SIM_QUERY_SIZE bytes in size. */
>
I cannot look at the code now, but this seems quite right.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
prev parent reply other threads:[~2001-02-23 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-23 14:07 Doug Evans
2001-02-23 14:23 ` Fernando Nasser
2001-02-23 14:34 ` Doug Evans
2001-02-23 14:45 ` Fernando Nasser [this message]
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=3A96E7FC.C196B43@cygnus.com \
--to=fnasser@cygnus.com \
--cc=dje@transmeta.com \
--cc=gdb@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