* inflow.c: Pass pointer to process group, not process group itself,
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 14 Oct 1993 02:48:33 +0000 (02:48 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 14 Oct 1993 02:48:33 +0000 (02:48 +0000)
to TIOCSPGRP ioctl.

gdb/ChangeLog
gdb/inflow.c

index 2fab6c8706f73fab4e742f052d7805c2a8e880c5..785cb015dcf7548170f4d5283db3e2a5efca7af5 100644 (file)
@@ -1,5 +1,8 @@
 Wed Oct 13 11:47:23 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * inflow.c: Pass pointer to process group, not process group itself,
+       to TIOCSPGRP ioctl.
+
        * inflow.c (terminal_ours_1): Don't print warning on failure to
        set process group.
 
index dd55a020c0817753605a64d6ed7b146df522d1c8..bf79541086165a9c301fe0a5a229bb2d1f29f56f 100644 (file)
@@ -235,7 +235,7 @@ terminal_inferior ()
 #endif
 
 #ifdef HAVE_SGTTY
-         result = ioctl (0, TIOCSPGRP, inferior_process_group);
+         result = ioctl (0, TIOCSPGRP, &inferior_process_group);
          if (!attach_flag)
            OOPSY ("TIOCSPGRP");
 #endif
@@ -337,7 +337,7 @@ terminal_ours_1 (output_only)
 #endif /* termios */
 
 #ifdef HAVE_SGTTY
-         result = ioctl (0, TIOCSPGRP, our_process_group);
+         result = ioctl (0, TIOCSPGRP, &our_process_group);
 #endif
        }