delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/12/17:02:04

From: twl AT pobox DOT com ("Theodore W. Leung")
Subject: GDB problems was: errno missing in link of wget
12 Jun 1997 17:02:04 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.2.32.19970611234828.00a5c240.cygnus.gnu-win32@ng.netgate.net>
References: <3 DOT 0 DOT 2 DOT 32 DOT 19970610212244 DOT 00a57160 AT ng DOT netgate DOT net>
Mime-Version: 1.0
X-Sender: twl AT ng DOT netgate DOT net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <199706111924.DAA25017@solaris.net.ncu.edu.tw>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT pobox DOT com or twl AT alum DOT mit DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019