From: Doug Evans <dje@google.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>, Tom Tromey <tromey@redhat.com>
Cc: gdb <gdb@sourceware.org>
Subject: SYMFILE_VERBOSE
Date: Thu, 18 Jun 2009 23:31:00 -0000 [thread overview]
Message-ID: <e394668d0906181631t79dd79d5wb0d9c290eb2cbcca@mail.gmail.com> (raw)
Random minor question of the day:
Is SYMFILE_VERBOSE misnamed (and/or misused) ?
symfile.c has this:
static void
symbol_file_add_main_1 (char *args, int from_tty, int flags)
{
const int add_flags = SYMFILE_MAINLINE | (from_tty ? SYMFILE_VERBOSE : 0);
symbol_file_add (args, add_flags, NULL, flags);
"from_tty" has a specific connotation which doesn't always just mean
"be chatty", and converting it to the name "VERBOSE" might cause
confusion given that there's also info_verbose, and there are places
of code that test "from_tty || info_verbose". Plus in
symbol_file_add_with_addrs_or_offsets it means more than just "be
chatty":
if ((have_full_symbols () || have_partial_symbols ())
&& mainline
&& from_tty
&& !query (_("Load new symbol table from \"%s\"? "), name))
error (_("Not confirmed."));
It's not a problem today, per se, just wondering about down the road ...
OOC, was SYMFILE_FROM_TTY considered and rejected?
next reply other threads:[~2009-06-18 23:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-18 23:31 Doug Evans [this message]
2009-06-19 0:21 ` SYMFILE_VERBOSE Paul Pluzhnikov
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=e394668d0906181631t79dd79d5wb0d9c290eb2cbcca@mail.gmail.com \
--to=dje@google.com \
--cc=gdb@sourceware.org \
--cc=ppluzhnikov@google.com \
--cc=tromey@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