This is the mail archive of the
mailing list for the GDB project.
Re: GDB errors when debugging XFree86
On Wed, Nov 07, 2001 at 12:23:19AM +0100, email@example.com wrote:
> 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.
I know the program I'm debugging does have the symbols.
I've finally managed to get my upgrade from WinNT 4.0 to Win2K and Win2K
doesn't exhibit any problems. So it only happens with WinNT 4.0.