diff options
author | Pedro Alves <palves@redhat.com> | 2007-02-25 17:59:43 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-02-25 17:59:43 +0000 |
commit | ef57601be42a9737cc3bc67f6ddba457e7a5db07 (patch) | |
tree | e98a58d5e9d22c6b7e75fbef877009a9943d1f20 /gdb/gdbserver/target.h | |
parent | 820f2bda8e60b9fa27458fb5b68cebc062ec5e7d (diff) | |
download | fsf-binutils-gdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.zip fsf-binutils-gdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.tar.gz fsf-binutils-gdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.tar.bz2 |
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index d6e2655..6f88b49 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -127,8 +127,10 @@ struct target_ops void (*look_up_symbols) (void); - /* Send a signal to the inferior process, however is appropriate. */ - void (*send_signal) (int); + /* Send an interrupt request to the inferior process, + however is appropriate. */ + + void (*request_interrupt) (void); /* Read auxiliary vector data from the inferior process. |