diff options
author | Mark Alexander <marka@cygnus> | 1996-07-01 18:11:07 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-07-01 18:11:07 +0000 |
commit | 97fd185a48ee2b3fee01f66b75df13ad4e999d38 (patch) | |
tree | 21299addbd49ed70aed437bb6715371f6a473760 /gdb | |
parent | 186dfd16abde98533933b68360bc19b026818716 (diff) | |
download | gdb-97fd185a48ee2b3fee01f66b75df13ad4e999d38.zip gdb-97fd185a48ee2b3fee01f66b75df13ad4e999d38.tar.gz gdb-97fd185a48ee2b3fee01f66b75df13ad4e999d38.tar.bz2 |
* remote-e7000.c (e7000_stop): New function.
PR 9935
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/remote-e7000.c | 11 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e16d983..68c0eaf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c index 0e5ee8e..07a89c1 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 */ |