* remote-utils.c (prepare_resume_reply): Null-terminate packet.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 3 Apr 2009 14:38:39 +0000 (14:38 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 3 Apr 2009 14:38:39 +0000 (14:38 +0000)
commit5472f405e240ab93b49942eb5181a5b4987a5417
tree8ad233940398093164f95c8d8289ef92f46ecc54
parent9592c5d01114002e806d444f9a574903e7d0a957
* remote-utils.c (prepare_resume_reply): Null-terminate packet.
* spu-low.c (current_tid): Rename to ...
(current_ptid): ... this.
(fetch_ppc_register, fetch_ppc_memory, store_ppc_memory,
spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use
ptid_get_lwp (current_ptid) instead of current_tid.
(spu_kill, spu_detach, spu_join, spu_wait): Use pid argument
instead of current_tid.  Use find_process_pid to verify pid
argument is valid.  Pass proper argument to remove_process.
(spu_thread_alive): Compare current_ptid instead of current_tid.
(spu_resume): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c
gdb/gdbserver/spu-low.c