From: Eli Zaretskii <eliz@gnu.org>
To: sami wagiaalla <swagiaal@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 1/2] build id
Date: Tue, 23 Nov 2010 19:10:00 -0000 [thread overview]
Message-ID: <83oc9f97nr.fsf@gnu.org> (raw)
In-Reply-To: <4CEBEB78.1020809@redhat.com>
> Date: Tue, 23 Nov 2010 11:27:36 -0500
> From: sami wagiaalla <swagiaal@redhat.com>
>
> This patch comes from the Fedora rpm and supports the use of build id
> for locating and loading core file executables, and printing information
> about missing debug info files.
Thanks.
> + add_setshow_boolean_cmd ("build-id-core-loads", class_files,
> + &build_id_core_loads, _("\
> +Set whether CORE-FILE loads the build-id associated files automatically."), _("\
> +Show whether CORE-FILE loads the build-id associated files automatically.."),
If by CORE-FILE you mean the command "core-file", then I suggest to
use \"core-file\" here.
> +You can also adjust the current verbosity of the @dfn{build id} locating.
The @dfn markup should be used only once, when the terminology is
first used and explained. Thereafter, you should not use @dfn, but
rather regular text.
> +@kindex set build-id-verbose
> +@item set build-id-verbose 0
> +No additional messages are printed.
It is better to say "Verbose messages are off."
> +@item set build-id-verbose 1
> +Missing separate debug filenames are printed.
It's better to avoid passive tense:
Print names of separate debug files that couldn't be found.
> +@item set build-id-verbose 2
> +Missing separate debug filenames are printed and also all the parsing of the
> +binaries to find their @dfn{build id} content is printed.
Print missing separate debug files, and also be verbose about
parsing of the binaries to find their build IDs.
> +#define BUILD_ID_VERBOSE_NONE 0
> +#define BUILD_ID_VERBOSE_FILENAMES 1
> +#define BUILD_ID_VERBOSE_BINARY_PARSE 2
Isn't it better to use an enum?
> + /* FIXME: bad alignment assumption. */
Should this FIXME be fixed before committing?
> + gdb_byte *data = (void *) descdata;
Why do you need this cast?
next prev parent reply other threads:[~2010-11-23 19:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 16:28 sami wagiaalla
2010-11-23 19:10 ` Eli Zaretskii [this message]
2010-11-29 21:49 ` sami wagiaalla
2010-11-30 3:50 ` Eli Zaretskii
2010-11-30 16:06 ` sami wagiaalla
2010-11-30 18:12 ` Eli Zaretskii
2010-12-04 19:23 ` Pedro Alves
2010-11-24 18:02 ` Joel Brobecker
2010-11-30 6:07 ` Jan Kratochvil
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=83oc9f97nr.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=swagiaal@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