From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: gdb-patches@cygnus.com Cc: noer@cygnus.com, sos@prospect.com.ru Subject: Fix for cygwin gdb hangs Date: Fri, 16 Jan 1998 21:21:00 -0000 Message-id: <199801170520.AAA07356@hardy.bbc.com> X-SW-Source: 1998/msg00000.html Hello, The cygwin32 port of gdb has an annoying habit of hanging hanging Windows NT if the gdb 'kill' command is used or if an attempt is made to exit gdb without allowing the debugged program to run to completion. This patch should solve that problem. -Chris Faylor Patch from cgf@bbc.com (Chris Faylor) * win32-nat.c (child_mourn_inferior): Make sure that child continues from EXIT_PROCESS_DEBUG or it could hang around forever. (child_kill_inferior): Respond to all debug events as the child is terminating or risk invoking a Windows NT bug which eventually hangs the whole system. begin 664 /tmp/gdbpatch.gz M'XL(```````"`Y5476^;,!1]AE]Q]U)!!DT,%9!$T:02TK)*-%KIMC=$P"1> MJ8D,M`]5__ML""L*6:;Y`>S[><[QA91D&>@L64.Q33?ZU$;(L,9\.WXEU#1T M&E>7"?S=)8]&H[.IX:Z&)4X`(9AS;1,:@RC<&BS@>UT&**NX(@F\%"3EIV1'\C1Z+FI& M(T(SS$C!0%&YYTW^#`"*B%/!+6A%:(V7>%-OO1=,*U"2FC&^B?:L2'!91B35 M>(HD22!6YZUV#,?ID7-Y?1.Y]T'H!X^>.I>%J:;[NMQ%5_:($5^_+@ MWV+*P25#J,+]?E()9^)H#NHIX2"D.:;1*=&V>")YWJO7\&WHBZ[NK>?>@1)B M]DSX7>!URW5`7H.)RI$(Q9I')DK-YVISZ+1LF'O7CS>1]]T+0L!"Q_D?%\E` M^?3_0O]#ZB.Q!2)IP^.>CAK_B$FU*EB_[T4#4`,_6/F!'YY.'C2'14OL,GT- M&YN?#J,_J/3"#^+VXP6TSOT!S2U2#(L%>#_],%I_NW>]AX>HI^P0YSM_]R_4 MS8L2W\8TS?%`7_4P<>="6[9=9#NT1Z/))U,:\_\!@U]U69W\T+[`:"S_!@F+ &4D=V!``` ` end