Mail Archives: cygwin/2000/06/29/19:01:33
> >Any ideas?
>
> Yes. I've given two suggestions that I haven't seen followed up on.
>
> 1) Try 'set debugexceptions'
Right, forgot about that...
I tried this and it doesn't fix the problem.
> 2) Debug gdb.exe and figure out where and why this is failing.
I'm not sure how I can debug gdb without a working gdb, but I'm trying to
improvise...
I just tried running strace on gdb in both scenarios.
Interestingly, in the "doesn't work" case, gdb eventually just hangs. Here
is the last few lines of output,
[ ... ]
564 2034353 [main] gdb 1062 environ_init: WEBSTERHOST=alvis
523 2034876 [main] gdb 1062 environ_init: WINBOOTDIR=C:\WINDOWS
41802 2076678 [main] gdb 1062 environ_init: WINDIR=C:\WINDOWS
476 2077154 [main] gdb 1062 pinfo_init: pid 1062, pgid 1062
974 2078128 [main] gdb 1062 hinfo::extend: size 32, fds 0xA042180
69116 2147244 [main] gdb 1062 internal_getlogin: Domain: CUCS
397 2147641 [main] gdb 1062 internal_getlogin: Logon Server: IAGO
277 2147918 [main] gdb 1062 internal_getlogin: Windows Username: stodghil
324 2148242 [main] gdb 1062 lookup_name: name : stodghil
[ GDB hangs here ]
IAGO is _not_ the local machine.
In the "works" case, gdb runs to completion. Here are the corrisponding
lines of output as about.
[ ... ]
535 2087909 [main] gdb 1023 environ_init: WEBSTERHOST=alvis
1224 2089133 [main] gdb 1023 environ_init: WINBOOTDIR=C:\WINDOWS
551 2089684 [main] gdb 1023 environ_init: WINDIR=C:\WINDOWS
418 2090102 [main] gdb 1023 pinfo_init: pid 1023, pgid 1023
42467 2132569 [main] gdb 1023 hinfo::extend: size 32, fds 0xA042188
61032 2193601 [main] gdb 1023 internal_getlogin: Domain: CUCS
405 2194006 [main] gdb 1023 internal_getlogin: Logon Server: MILHOUSE
33012 2227018 [main] gdb 1023 internal_getlogin: Windows Username: stodghil
489 2227507 [main] gdb 1023 lookup_name: name : stodghil
4746 2232253 [main] gdb 1023 lookup_name: sid : [1330]
357 2232610 [main] gdb 1023 internal_getlogin: Cygwins Username: stodghil
330 2232940 [main] gdb 1023 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
34450 2267390 [main] gdb 1023 _cygwin_istext_for_stdio: _cifs: fd not open
[ ... ]
MILHOUSE _is_ the local machine.
I'll send some more info after doing some more digging....
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -