GDB problems was: errno missing in link of wget

Theodore W. Leung twl@pobox.com
Thu Jun 12 12:47:00 GMT 1997


Thanks to all who replied on the errno.h problem.

I modified the sources and got wget to compile.  When I run the binary,
I get

"Cannot determine user-id."

So I fired up GDB to try to find out where this happens.  GDB gives me
the following spew and stops.  If I set a breakpoint in main, I get pretty
much the same thing.  What am I missing?'

Ted

----------------------------------------------------------------------------

GNU gdb 4.16.1
Copyright 1997 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 details.
This GDB was configured as "i386-cygwin32"...
(gdb) run
Starting program: /tmp/wget-1.4.5/src/wget.exe 
10000000:/bin/gnuwin32/b18/H-i386-cygwin32/bin/cygwin.dll

[failed reading symbols from DLL]
"//D/WINNT/system32/kernel32.dll": error reading line numbers


[failed reading symbols from DLL]
"//D/WINNT/system32/advapi32.dll": error reading line numbers

77e70000://D/WINNT/system32/USER32.dll
77ed0000://D/WINNT/system32/GDI32.dll
77e20000://D/WINNT/system32/RPCRT4.dll
776d0000://D/WINNT/System32/wsock32.dll

[failed reading symbols from DLL]
"//D/WINNT/System32/WS2_32.dll": error reading line numbers

78000000://D/WINNT/system32/MSVCRT.dll

[failed reading symbols from DLL]
"//D/WINNT/System32/WS2HELP.dll": error reading line numbers

77e10000://D/WINNT/System32/rpcltc1.dll

Program exited with code 01.
(gdb) 
______________________________________________________________________________
Ted Leung	twl@pobox.com or twl@alum.mit.edu      http://pobox.com/~twl
______________________________________________________________________________

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBtAzKVWM8AAAEDAMcGqhQaOwR3lZGSRWXPGValB1dyZM+uWPlzwnIoaL5an8Do
wkvXEfMWCVkiuHQW4yh631RSHFvrftgVvJgKXB1+WYMDDP1V7nGeemT5EF3oUIU0
BxdTSRd3c841lLe5TQAFEbQhVGhlb2RvcmUgVy4gTGV1bmcgPHR3bEBwb2JveC5j
b20+
=U9O6
-----END PGP PUBLIC KEY BLOCK-----
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list