From: Eli Zaretskii <eliz@is.elta.co.il>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa:doco] Coding: Per-architecture data-pointers
Date: Tue, 14 May 2002 22:32:00 -0000 [thread overview]
Message-ID: <Pine.SUN.3.91.1020515082418.607G-100000@is> (raw)
In-Reply-To: <3CE1E99F.6070005@cygnus.com>
On Wed, 15 May 2002, Andrew Cagney wrote:
> The attatched attempts to document the ``correct'' way to create
> per-architecture module data-pointers.
Approved, with a few comments:
> +@cindex data-pointer, per-architecture
> +@cindex data-pointer, per-module
It is not useful to have two index entries which begin the same and point
to the same page. If you think we need to mention both per-architecture
and per-module here, I suggest something like this:
@cindex data-pointer, per-architecture/per-module
> +@smallexample
> +static struct gdbarch_data *nozle_data_handle;
> +static void *nozel_data_init (struct gdbarch *gdbarch);
> +static void nozel_data_free (struct gdbarch *gdbarch, void *data);
Watch for too-long lines here ;-) Lines longer than 64 characters (from
memory) might cause TeX to whine.
> +The per-architecture data-pointer is accessed using @code{gdbarch_data}
A period is missing here.
> +The function @code{set_gdbarch_data} is can be used to modify a
Something is wrong with "is can be used" here.
> +@var{pointer}. If the previous data-pointer value is non-NULL, then it
NULL should be in @code.
prev parent reply other threads:[~2002-05-15 5:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-14 21:52 Andrew Cagney
2002-05-14 22:32 ` Eli Zaretskii [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=Pine.SUN.3.91.1020515082418.607G-100000@is \
--to=eliz@is.elta.co.il \
--cc=ac131313@cygnus.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