From: Jim Blandy <jimb@redhat.com>
To: "J. Johnston" <jjohnstn@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: Why does symfile.c use printf_filtered?
Date: Wed, 22 Oct 2003 22:14:00 -0000 [thread overview]
Message-ID: <vt2smlkvs2c.fsf@zenia.home> (raw)
In-Reply-To: <3F95A56F.3090802@redhat.com>
"J. Johnston" <jjohnstn@redhat.com> writes:
> Does anybody know why symfile.c uses printf_filtered()?
>
> This causes a couple of problems, most notably when you load a module
> with a lot of shared library references. The messages for "Reading
> symbols from"... inside symfile.c are printed filtered so eventually
> we end up causing a page break. I do not think this information is
> worthy of requiring user intervention.
>
> Would anybody have an objection to me changing to use
> printf_unfiltered() in symfile.c?
No, that'd be fine.
I have to wonder, though --- if one doesn't care whether the messages
are scrolling off the screen or not, should one print them at all?
What would folks think of just ditching the fprintf altogether, and
making sure there's some general message that says it's reading
symbols?
I suppose those messages are nice in that they provide a context for
any error messages that might come afterwards, but I think it'd be
better just to improve the error messages to mention the filename
involved, rather than spew stuff all the time on the off chance
something will go wrong.
next prev parent reply other threads:[~2003-10-22 22:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 21:30 J. Johnston
2003-10-22 6:16 ` Eli Zaretskii
2003-10-22 13:30 ` Daniel Jacobowitz
2003-10-22 22:14 ` Jim Blandy [this message]
2003-10-24 17:55 ` Andrew Cagney
2003-10-24 18:51 ` Daniel Jacobowitz
2003-10-24 20:50 ` Andrew Cagney
[not found] <1066860856.12586.ezmlm@sources.redhat.com>
2003-10-22 23:35 ` Jim Ingham
2003-10-23 19:34 ` Jim Blandy
2003-10-24 17:14 ` Jim Ingham
2003-10-24 17:23 ` J. Johnston
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=vt2smlkvs2c.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jjohnstn@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