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: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: insight at sourceware dot org
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 26 Jun 2007 00:20:13 +0100
- 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>
Hi Brian,
Brian Dessent wrote:
Patch here: http://sourceware.org/ml/insight/2007-q2/msg00020.html
Can anyone please take a look at this? Using insight on Cygwin without
this is a very frustrating affair which involves having to dismiss *two*
stupid focus-stealing pop-up dialogs every single time you type 'run'.
I can't test it right now, but,
Doesn't that warning about the missing .text section come from
win32-nat.c falling back to .text to compute the relocation
offsets, and not finding any .text section?
I think the changes to make win32 use solib-target.c at least will
turn this into a different warning, if they don't remove it. I'm
not familiar with the separate debug info mechanism in gdb, but to
me it sounds we should understand the reasons for the warnings and
fix it there. I mean, why is it that these warnings don't happen
on other targets? Why is gdb looking for loadable sections in a
debug info only file?
Cheers,
Pedro Alves