From 27524b67e16c96d7f8a266e99979ceb6ae953bc9 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 7 Dec 2007 14:00:37 +0000 Subject: [PATCH] * server.c (myresume): Add own_buf argument. (main): Update calls. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5f331b76519..50d8f1a7ce4 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2007-12-07 Daniel Jacobowitz + + * server.c (myresume): Add own_buf argument. + (main): Update calls. + 2007-12-06 Daniel Jacobowitz * linux-low.c (linux_wait, linux_resume): Do not handle async I/O. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index a47d1d304f6..78f37c25c78 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -800,7 +800,7 @@ handle_v_requests (char *own_buf, char *status, int *signal, } void -myresume (int step, int *signalp, char *statusp) +myresume (char *own_buf, int step, int *signalp, char *statusp) { struct thread_resume resume_info[2]; int n = 0; @@ -1084,7 +1084,7 @@ main (int argc, char *argv[]) signal = target_signal_to_host (sig); else signal = 0; - myresume (0, &signal, &status); + myresume (own_buf, 0, &signal, &status); break; case 'S': convert_ascii_to_int (own_buf + 1, &sig, 1); @@ -1092,15 +1092,15 @@ main (int argc, char *argv[]) signal = target_signal_to_host (sig); else signal = 0; - myresume (1, &signal, &status); + myresume (own_buf, 1, &signal, &status); break; case 'c': signal = 0; - myresume (0, &signal, &status); + myresume (own_buf, 0, &signal, &status); break; case 's': signal = 0; - myresume (1, &signal, &status); + myresume (own_buf, 1, &signal, &status); break; case 'Z': { -- 2.30.2