This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB errors when debugging XFree86
- To: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- Subject: Re: GDB errors when debugging XFree86
- From: muller at cerbere dot u-strasbg dot fr
- Date: Wed, 07 Nov 2001 00:23:19 +0100
- Cc: gdb at sources dot redhat dot com
At 22:07 06/11/01 +0000, you wrote:
>Wonder if someone can help. I've been talking to Chris Faylot about some
>GDB problems and he's forwarded me to you guys.
>
>(I'm not on this list so if you could CC me any info posted).
>
>With the current CVS of gdb built around an hour ago I'm getting this
>when trying to debug some new code in Cygwin/XFree86.
>
>"/cygdrive/c/WINNT/system32/KERNEL32.DLL": error reading line numbers
>"/cygdrive/c/WINNT/system32/ADVAPI32.DLL": error reading line numbers
>"/cygdrive/c/WINNT/system32/RPCRT4.DLL": error reading line numbers
>"/cygdrive/c/WINNT/System32/winmm.dll": error reading line numbers
>"/cygdrive/c/WINNT/system32/version.dll": error reading line numbers
>"/cygdrive/c/WINNT/system32/SHELL32.DLL": error reading line numbers
>"/cygdrive/c/WINNT/system32/lz32.dll": error reading line numbers
>warning: Lowest section in /cygdrive/c/WINNT/System32/sbeng32.dll is .rsrc
at 10001000
>coffread.c:472: gdb-internal-error: sect_index_text not initialized
>
>I have to also hit CTRL+C twice, as the program seems to completely hang,
>so I can get a prompt back at GDB.
>
>Anyone ideas on where the problems lie ?
No, but I can confirm that this is not Xfree specific,
with the latest cygwin CVS build, I got the same error
when trying to debug a program without any debug
info in it.