From 97fd185a48ee2b3fee01f66b75df13ad4e999d38 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Mon, 1 Jul 1996 18:11:07 +0000 Subject: [PATCH] * remote-e7000.c (e7000_stop): New function. PR 9935 --- gdb/ChangeLog | 3 ++- gdb/remote-e7000.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e16d983032c..68c0eaf7e10 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 0e5ee8e4af2..07a89c15dbf 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 */ -- 2.30.2