delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/23/23:04:01

From: curtis AT pdi DOT com (Curtis Galloway)
Subject: B19.1: problem with alien gdb and signals
23 Apr 1998 23:04:01 -0700 :
Message-ID: <353FB9F1.D8458631.cygnus.gnu-win32@pdi.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I'm using the version of GDB that comes with Apple's OpenStep distribution. 
Under b18, it worked well.  Under b19, when I use Ctrl-C to interrupt the
program being debugged, gdb quits immediately as well.

Anyone have any clues as to why this could be happening?  I did make one
change in winsup/execeptions.cc, but I don't think it would affect this. 
(I've included the diff below -- it solves the problem of having the "End
task" dialog panel appear for each cygwin process window that's open when you
shut down the computer.)

--Curtis

*** b19/src/winsup/exceptions.cc.00     Sun Feb 22 19:29:00 1998
--- b19/src/winsup/exceptions.cc        Fri Apr  3 16:39:32 1998
***************
*** 745,751 ****
        sig = SIGHUP;
        break;
      case CTRL_LOGOFF_EVENT:
!       return 1;
        break;
      case CTRL_SHUTDOWN_EVENT:
        sig = SIGHUP;
--- 745,751 ----
        sig = SIGHUP;
        break;
      case CTRL_LOGOFF_EVENT:
!       return 0;
        break;
      case CTRL_SHUTDOWN_EVENT:
        sig = SIGHUP;
-
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