-2005-04-15 Ke Sakamoto <sakamoto.kei@renesas.com>
+2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * server.c (start_inferior): Change return type to int.
+ (attach_inferior): Change sigptr to int *.
+ (handle_v_cont, handle_v_requests): Change signal to int *.
+ (main): Change signal to int.
+
+2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
* Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o.
* configure.srv: Add m32r*-*-linux*.
unsigned long signal_pid;
-static unsigned char
+static int
start_inferior (char *argv[], char *statusptr)
{
signal (SIGTTOU, SIG_DFL);
}
static int
-attach_inferior (int pid, char *statusptr, unsigned char *sigptr)
+attach_inferior (int pid, char *statusptr, int *sigptr)
{
/* myattach should return -1 if attaching is unsupported,
0 if it succeeded, and call error() otherwise. */
/* Parse vCont packets. */
void
-handle_v_cont (char *own_buf, char *status, unsigned char *signal)
+handle_v_cont (char *own_buf, char *status, int *signal)
{
char *p, *q;
int n = 0, i = 0;
/* Handle all of the extended 'v' packets. */
void
-handle_v_requests (char *own_buf, char *status, unsigned char *signal)
+handle_v_requests (char *own_buf, char *status, int *signal)
{
if (strncmp (own_buf, "vCont;", 6) == 0)
{
{
char ch, status, *own_buf, mem_buf[2000];
int i = 0;
- unsigned char signal;
+ int signal;
unsigned int len;
CORE_ADDR mem_addr;
int bad_attach;