* remote-e7000.c (e7000_stop): New function.
authorMark Alexander <marka@cygnus>
Mon, 1 Jul 1996 18:11:07 +0000 (18:11 +0000)
committerMark Alexander <marka@cygnus>
Mon, 1 Jul 1996 18:11:07 +0000 (18:11 +0000)
PR 9935

gdb/ChangeLog
gdb/remote-e7000.c

index e16d983032cc4c063f2b6e599eda9a37c2e7c704..68c0eaf7e1009c08b10b0c35fde48f0eb2207fe9 100644 (file)
@@ -1,5 +1,6 @@
+Mon Jul 01 11:07:15 1996  Mark Alexander  <marka@cygnus.com>
 
-
+       * remote-e7000.c (e7000_stop): New function.
 
 Fri Jun 28 06:34:19 1996  Dawn Perchik  <dawn@cygnus.com>
 
index 0e5ee8e4af20472ff74d0e6df6d30753187094fb..07a89c15dbf5164a65bd1fbdeb5fc2c6da66ac28 100644 (file)
@@ -2077,6 +2077,15 @@ e7000_wait (pid, status)
   return 0;
 }
 
+/* Stop the running program.  */
+
+static void
+e7000_stop ()  
+{
+  /* Sending a ^C is supposed to stop the running program.  */
+  putchar_e7000 (CTRLC);
+}
+
 /* Define the target subroutine names. */
 
 struct target_ops e7000_ops =
@@ -2116,7 +2125,7 @@ target e7000 foobar",
   0,                           /* to_can_run */
   0,                           /* to_notice_signals */
   0,                           /* to_thread_alive */
-  0,                           /* to_stop */
+  e7000_stop,                  /* to_stop */
   process_stratum,             /* to_stratum */
   0,                           /* next (unused) */
   1,                           /* to_has_all_memory */
This page took 0.037465 seconds and 4 git commands to generate.