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}.
This commit is contained in:
parent
3130066b6c
commit
0e98d0a751
5 changed files with 34 additions and 11 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue