diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-03-27 05:15:49 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-03-27 05:15:49 +0000 |
commit | 0e98d0a7510d45111a189ecd2baed6d15c61a11b (patch) | |
tree | 9e94d65be10c79416b88871a817df0092db5c8a7 /gdb/gdbserver/server.h | |
parent | 3130066b6cbb3de4f8f8d00b33c70accaca0f68b (diff) | |
download | gdb-0e98d0a7510d45111a189ecd2baed6d15c61a11b.zip gdb-0e98d0a7510d45111a189ecd2baed6d15c61a11b.tar.gz gdb-0e98d0a7510d45111a189ecd2baed6d15c61a11b.tar.bz2 |
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/server.c (main): Call target_signal_to_host_p
and target_signal_to_host on signals received from the remote.
* gdbserver/remote-utils.c (prepare_resume_reply): Call
target_signal_from_host on signals sent to the remote.
* gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
* gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r-- | gdb/gdbserver/server.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 6202b0f..7f22041 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -34,6 +34,7 @@ typedef long long CORE_ADDR; #include "regcache.h" +#include "gdb/signals.h" #include <setjmp.h> @@ -84,6 +85,10 @@ void decode_m_packet (char *from, CORE_ADDR * mem_addr_ptr, void decode_M_packet (char *from, CORE_ADDR * mem_addr_ptr, unsigned int *len_ptr, char *to); +/* Functions from ``signals.c''. */ +enum target_signal target_signal_from_host (int hostsig); +int target_signal_to_host_p (enum target_signal oursig); +int target_signal_to_host (enum target_signal oursig); /* Functions from utils.c */ |