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, firstname.lastname@example.org 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
>>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.
Well, this was also a problem with an older gdb.
I don't know if it was a problem with older cygwin's or not, though.
Alan? Did you see this in cygwin 1.3.?