This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch ping^2] suppress annoying warnings about cygwin1.dbg
- From: Brian Dessent <brian at dessent dot net>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Pedro Alves <pedro_alves at portugalmail dot pt>, insight at sourceware dot org, gdb-patches at sourceware dot org
- Date: Mon, 25 Jun 2007 17:53:19 -0700
- Subject: Re: [patch ping^2] suppress annoying warnings about cygwin1.dbg
- References: <46262D3A.8B1A0D15@dessent.net> <20070418150137.GA7338@trixie.casa.cgf.cx> <46263710.D9755DAD@dessent.net> <462639F3.FBCF4675@dessent.net> <46264A56.BA86EED7@dessent.net> <4638AB6B.5AA94B26@dessent.net> <46803846.F99470AE@dessent.net> <46804DAD.4020309@portugalmail.pt> <20070625234015.GA17640@caradoc.them.org>
- Reply-to: gdb-patches at sourceware dot org
Daniel Jacobowitz wrote:
> There are loadable sections in an ELF debug-only file; they all have
> type NOBITS instead of PROGBITS, but are otherwise unchanged. I'm
> going to make a wild guess here that says you can't do that in
> PE-COFF, so the text section is actually missing. So probably we
> should figure out whether we're loading a debug-info-only file at this
> point, and not issue those warnings. Or else remove the warnings
> entirely.
Ah, wish I'd known that at the time:
<http://sourceware.org/ml/insight/2007-q2/msg00022.html>
So, the proper way then would be to set some flag if we're reading a
.gnu-debuglink file and not generate the warnings in the first place? I
can try to come up with something along those lines then.
> The redirection to /dev/null is silly and should go away, by the way,
> so relying on it isn't the right fix. I don't remember if my recently
Right, it always looked pretty ugly to me, but when I initially started
looking at this I just wanted insight to shut the **** up.
Brian