syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)

Pedro Alves pedro_alves@portugalmail.pt
Thu Nov 8 23:56:00 GMT 2007


Hi all,

The cygwin1.dbg (the cygwin1.dll separate debug info file)
generation has now been been fixed to keep the section info of
non-debug sections, so the warnings [1] will not happen
anymore starting from the next cygwin snapshot.

[1] http://www.cygwin.com/ml/insight/2007-q2/msg00016.html

Is there anything else preventing us from removing the
stderr -> null redirection from win32-nat.c ?

The redirection is only done on the "dll-symbols"
command, and adding cygwin1.dll manually isn't
a common use case, I guess.

Notice that the cygwin1.dbg generation is special.
Everyone else should be using the recipe I posted in
a previous message, which produces files that don't
trigger those warnings.

-- 
Pedro Alves



More information about the Gdb-patches mailing list