This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)
Pedro Alves wrote:
> Doesn't happen here. Those messages should only show up when manually
> adding a symbol file, or when extra verbosity is requested by the user.
> Do you happen to have a "set verbose 1" in your .gdbinit file?
Well I'll be... yes, I did have that in a long-forgotten .gdbinit. It
hadn't occurred to me that it was responsible since apparently the
verbose setting never caused that kind of spewage in prior versions.
So I think the section warnings in syms_from_objfile definitely need to
go and we can finally kill the hacky redirection in win32-nat.c per your
patch. I still will look into fixing insight so that it doesn't
intermix "Reading symbols from ..." with the source code pane, but I
guess it's not as pressing since it's a non-default behavior.
Thanks,
Brian