X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= Subject: Re: Debugging with cygwin tools Date: Fri, 05 Oct 2007 15:30:02 -0500 Lines: 50 Message-ID: References: <4704CA0F DOT 9010907 AT udc DOT es> <016801c806a4$501cd850$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20071004202558 DOT gn6sv47ayockk8s8 AT webmail DOT udc DOT es> <13064545 DOT post AT talk DOT nabble DOT com> <13065449 DOT post AT talk DOT nabble DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <13065449.post@talk.nabble.com> OpenPGP: url=hkp://wwwkeys.pgp.net X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Doug Coleman wrote: > Here is 'info files' in gdb. There have been other posts about the same > problem, but no resolution afaik: > http://cygwin.com/ml/cygwin/2007-03/msg00182.html Yes, same problem. > $ gdb ./factor-nt > GNU gdb 6.5.50.20060706-cvs (cygwin-special) > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i686-pc-cygwin"... > (gdb) info files > Symbols from "/cygdrive/k/factor/factor-nt.exe". > Local exec file: > `/cygdrive/k/factor/factor-nt.exe', file type pei-i386. > Entry point: 0x401280 > 0x00401000 - 0x004017b8 is .text > 0x00402000 - 0x00402030 is .data > 0x00403000 - 0x00403040 is .rdata > 0x00404000 - 0x00404380 is .bss > 0x00405000 - 0x0040509b is .edata > 0x00406000 - 0x0040631c is .idata > 0x00407000 - 0x0041dd04 is .rsrc > 0x0041e000 - 0x0041e094 is .reloc > (gdb) run Definitely something is very wrong, it doesn't show any of the dll. My only guess, by the 0x77d41000 address, is that one of the Windows dll ca= n't be loaded... don't know how to fix it. Same probem has been reported in MingW: https://sourceforge.net/tracker/?func=3Ddetail&atid=3D102435&aid=3D1500271&= group_id=3D2435 the most recent message (2 months ago) even mentions a patch, but its not t= here. --=20 Ren=C3=A9 Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/