tty and the cygwin server

Robert Collins
Wed Jan 16 20:30:00 GMT 2002

----- Original Message -----
From: "Christopher Faylor" <>

> Probably it is looking like stdin (the pty) is being closed for some
> reason.  That seems to be what's happening from the strace.  Or it has
> received a signal?  You should be able to attach to the process via
> and watch it happen.

heh. debug output help needed (I feel like a fr8**ing newbie).

(gdb) attach 3648
Attaching to program `/bin/sh.exe', process 3648
[Switching to thread 3648.0xe14]
(gdb) step
Single stepping until exit from function _system_dlls__,
which has no line number information.

Program exited with code 0200400.

                      ^ ^^^^^^^^^^^^
How should this code be interpreted?

(gdb) attach 2652
Attaching to program `/bin/sh.exe', process 2652
[Switching to thread 2652.0xbb0]
(gdb) stepi
0x77f970a4 in _system_dlls__ ()
0x77f970ad in _system_dlls__ ()
0x77f970b1 in _system_dlls__ ()
0x77f970b3 in _system_dlls__ ()
0x77fa4828 in _system_dlls__ ()
0x77fa482e in _system_dlls__ ()
0x77fa4832 in _system_dlls__ ()
0x77fa4839 in _system_dlls__ ()
0x77fa483b in _system_dlls__ ()
0x77f7f3d3 in _system_dlls__ ()
0x77f7f3d8 in _system_dlls__ ()
0x77f7f3dd in _system_dlls__ ()
0x7ffe0300 in ?? ()
0x7ffe0302 in ?? ()

Program exited with code 0200400.

More information about the Cygwin-developers mailing list