[gnu.gdb.bug] SIGINT problem

daemon@tut.cis.ohio-state.edu (Admin) (04/14/89)

You're right. It was simply a problem with system V's, uh, different
signal handling. (my, that was diplomatic of me. I wanted to say
"Stupid %$##@%$# !$#@%&%^&*$ signal handling", but I didn't.).

Patch:

*** /../zelig/usr1/gdb3.1/utils.c	Mon Mar 20 13:39:06 1989
--- /usr/graph2/PD.software/src/gdb3.1/utils.c	Fri Apr 14 14:21:27 1989
***************
*** 246,251 ****
--- 246,254 ----
  void
  request_quit ()
  {
+ #ifdef USG
+   signal(SIGINT, request_quit);
+ #endif
    quit_flag = 1;
    if (immediate_quit)
      quit ();