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)
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: gdb-patches at sourceware dot org, insight at sourceware dot org
- Date: Thu, 08 Nov 2007 23:47:19 +0000
- Subject: Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)
- References: <20070625234015.GA17640@caradoc.them.org> <46833EB0.E8ABC8CB@dessent.net> <20070628104601.GA10328@caradoc.them.org> <20071011195327.GB8200@caradoc.them.org> <470FFB00.9909C731@dessent.net> <47101DB4.6010204@portugalmail.pt> <20071024184207.GA10943@caradoc.them.org> <4725378D.5010800@portugalmail.pt> <4053daab0710290203q5aa79bam6a8e87e5c6a837ba@mail.gmail.com> <20071029123318.GA16009@caradoc.them.org> <20071030011953.GA28693@ednor.casa.cgf.cx>
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