From: Eli Zaretskii <eliz@gnu.org>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org,
dan@codesourcery.com
Subject: Re: add vector container type
Date: Thu, 13 Jul 2006 19:25:00 -0000 [thread overview]
Message-ID: <u8xmxmhoo.fsf@gnu.org> (raw)
In-Reply-To: <44B690FA.6000006@codesourcery.com> (message from Nathan Sidwell on Thu, 13 Jul 2006 19:29:14 +0100)
> Date: Thu, 13 Jul 2006 19:29:14 +0100
> From: Nathan Sidwell <nathan@codesourcery.com>
> CC: Mark Kettenis <mark.kettenis@xs4all.nl>, gdb-patches@sourceware.org,
> dan@codesourcery.com
>
> Eli Zaretskii wrote:
> >> Date: Mon, 10 Jul 2006 13:54:04 +0200 (CEST)
> >> From: "Mark Kettenis" <mark.kettenis@xs4all.nl>
> >> Cc: gdb-patches@sourceware.org, "Daniel Jacobowitz" <dan@codesourcery.com>
> >>
> >> Oh, and Eli will want you to write a paragraph on how to use this in
> >> gdbint.tex.
> >
> > (You meant gdbint.texinfo.) Yep, it would be nice.
>
> Is this version ok?
Thanks.
Yes, it's okay, but please fix the following gotchas:
> + pointers to objects around -- in the former case the pointers are
Please use "---" -- 3 dashes in a row -- to produce an em-dash. "--"
gets typeset as a shorter dash, almost as a hyphen (and makeinfo
simply removes one dash, so we will get "-" in the Info output, which
is not what you wanted).
There are other instances of "--", please fix them all.
> + dereferenced and the objects copied into the vector. The scalar
> + object variant is suitable for int-like objects, and the vector
"int" is a C symbol, so please use a @code markup for it:
... is suitable for @code{int}-like objects ...
> + There are both 'index' and 'iterate' accessors. The iterator returns
If the '...' quotes here were meant to emphasize the terminology,
@dfn{iterate} etc. will do it better. If the quotes were just quotes,
please use the ``...'' style, it looks better in print.
Please also fix the other uses of '...'
> + use the embedded_size & embedded_init calls to create such objects,
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
These are symbols, so please use @code
> + pointer to an array of data), because, if we allow NULL to also
NULL is also a symbol.
> + Vector types are defined using a DEF_VEC_@{O,P,I@}(TYPEDEF) macro.
Please give all the macros the @code markup.
> + Variables of vector type are declared using a VEC(TYPEDEF) macro.
I suspect that TYPEDEF is a placebo: it stands for something else,
like int or pointer. If so, please use @code{VEC(@var{typedef})}
instead. @var will do what is necessary to typeset meta-syntactic
variables such as this one. Use @var{typedef} in every reference to
that argument in the following text as well.
Finally, perhaps you could precede this description with a short
explanation when would a GDB hacker use this facility, and also add at
least a simple list of the functions/macros provided by vec.c.
next prev parent reply other threads:[~2006-07-13 19:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 10:09 Nathan Sidwell
2006-07-10 11:54 ` Mark Kettenis
2006-07-10 12:54 ` Daniel Jacobowitz
2006-07-10 19:59 ` Eli Zaretskii
2006-07-13 18:29 ` Nathan Sidwell
2006-07-13 19:25 ` Eli Zaretskii [this message]
2006-07-14 16:23 ` Nathan Sidwell
2006-07-14 19:31 ` Eli Zaretskii
2006-07-17 15:09 ` Nathan Sidwell
2006-07-17 18:07 ` Mark Kettenis
2006-07-17 18:15 ` Daniel Jacobowitz
2006-07-11 18:17 ` Jim Blandy
2006-07-11 18:19 ` Nathan Sidwell
2006-08-15 19:42 ` Daniel Jacobowitz
2006-09-21 13:48 ` Daniel Jacobowitz
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=u8xmxmhoo.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=nathan@codesourcery.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