diff options
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/remote-utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc index 0599cc9..db9b2a6 100644 --- a/gdbserver/remote-utils.cc +++ b/gdbserver/remote-utils.cc @@ -1144,7 +1144,7 @@ prepare_resume_reply (char *buf, ptid_t ptid, const target_waitstatus &status) gdb_assert (buf_start[0] == 'T'); gdb_assert (isxdigit (buf_start[1])); gdb_assert (isxdigit (buf_start[2])); - *buf = 'S'; + buf_start[0] = 'S'; buf_start[3] = '\0'; break; } |