diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-12-07 14:00:37 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-12-07 14:00:37 +0000 |
commit | 27524b67e16c96d7f8a266e99979ceb6ae953bc9 (patch) | |
tree | 73229c59efa1656ba4c01a24cca652710ab06594 /gdb/gdbserver | |
parent | 4117d76827b3768e9da6ef52f52a59c5ae92bed3 (diff) | |
download | gdb-27524b67e16c96d7f8a266e99979ceb6ae953bc9.zip gdb-27524b67e16c96d7f8a266e99979ceb6ae953bc9.tar.gz gdb-27524b67e16c96d7f8a266e99979ceb6ae953bc9.tar.bz2 |
* server.c (myresume): Add own_buf argument.
(main): Update calls.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5f331b7..50d8f1a 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2007-12-07 Daniel Jacobowitz <dan@codesourcery.com> + + * server.c (myresume): Add own_buf argument. + (main): Update calls. + 2007-12-06 Daniel Jacobowitz <dan@codesourcery.com> * 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 a47d1d3..78f37c2 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': { |