Why does symfile.c use printf_filtered?

Eli Zaretskii eliz@elta.co.il
Wed Oct 22 06:16:00 GMT 2003


> Date: Tue, 21 Oct 2003 17:30:23 -0400
> From: "J. Johnston" <jjohnstn@redhat.com>
> 
> 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.

Unless there's some important situation where this is necessary, it
does seem silly to use printf_filtered in this case.



More information about the Gdb mailing list