From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Reporting the OSABI in target descriptions.
Date: Mon, 06 Jul 2009 20:29:00 -0000 [thread overview]
Message-ID: <83zlbhzhas.fsf@gnu.org> (raw)
In-Reply-To: <200907061617.58494.pedro@codesourcery.com>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Mon, 6 Jul 2009 16:17:58 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>
>
> > So that gdbserver supports this, I've tweaked the regformats/regdat.sh
> > script to grok a new "osabi" field in the .dat files, and done
> > a couple of examples: x86/x86_64-linux, which covers the specifying
> > the osabi in the .dat files directly, and mips-linux, that covers doing
> > it in from an embedded xml file. I didn't touch other archs as their
> > xml and dat files didn't have "linux" in the filename, but
> > it probably just means that we'd have to go add such linux files,
> > or check which ones aren't named foolinux.xml or foolinux.dat,
> > but are only really used by gdbserver-linux.
Sorry, I don't follow: why just Linux?
> > We can of course
> > easilly add .xml and .dat files for Windows or other hosts
> > gdbserver runs on.
Perhaps we should indeed add that for the popular platforms.
> Eli, are is the docs (mostly doing the same as the description of
> the "architecture" element does) and NEWS patch hunks below okay?
Yes, with a couple of comments:
> +* Target descriptions can now describe the target OS ABI. See the
> +section on target descriptions in the user manual for more
> +information.
In fact <osabi> is described in "Target Description Format", not in
"Target Descriptions". So maybe use the exact section name here.
> +@cindex <osabi>
"<osabi>" is a kind of symbol, so it's better to have it in @code.
> +An @samp{<osabi>} element has this form:
> +
> +@smallexample
> + <osabi>@var{osabi}</osabi>
> +@end smallexample
> +
> +@var{osabi} is an OS ABI name from the same selection accepted by
Using "osabi" both for the tag and the OS ABI name could confuse the
reader. Suggest to use "abi" or "abi-name" for the latter.
Thanks.
next prev parent reply other threads:[~2009-07-06 20:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-10 21:18 Pedro Alves
2009-07-06 15:17 ` Pedro Alves
2009-07-06 20:29 ` Eli Zaretskii [this message]
2009-07-20 18:38 ` Pedro Alves
2009-07-20 18:53 ` Eli Zaretskii
2009-07-17 14:55 ` Ulrich Weigand
2009-07-20 14:01 ` Pedro Alves
2009-07-20 19:54 ` Pedro Alves
2009-07-20 19:56 ` Ulrich Weigand
2009-07-20 21:06 ` Pedro Alves
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=83zlbhzhas.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro@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