diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e16d983032..68c0eaf7e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ +Mon Jul 01 11:07:15 1996 Mark Alexander - + * remote-e7000.c (e7000_stop): New function. Fri Jun 28 06:34:19 1996 Dawn Perchik diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c index 0e5ee8e4af..07a89c15db 100644 --- a/gdb/remote-e7000.c +++ b/gdb/remote-e7000.c @@ -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 */