Lines Matching refs:rw
387 int rw; in acquire_and_suspend_threads() local
418 rw = ptrace_read_memory(pid, vgt+off_status, in acquire_and_suspend_threads()
421 if (rw != 0) { in acquire_and_suspend_threads()
422 ERROR(rw, "status ptrace_read_memory\n"); in acquire_and_suspend_threads()
426 rw = ptrace_read_memory(pid, vgt+off_lwpid, in acquire_and_suspend_threads()
429 if (rw != 0) { in acquire_and_suspend_threads()
430 ERROR(rw, "lwpid ptrace_read_memory\n"); in acquire_and_suspend_threads()
887 int rw; in invoker_invoke_gdbserver() local
892 rw = ptrace_write_memory(pid, sp, in invoker_invoke_gdbserver()
895 if (rw != 0) { in invoker_invoke_gdbserver()
896 ERROR(rw, "push check arg ptrace_write_memory"); in invoker_invoke_gdbserver()
905 rw = ptrace_write_memory(pid, sp, in invoker_invoke_gdbserver()
908 if (rw != 0) { in invoker_invoke_gdbserver()
909 ERROR(rw, "push bad_return return address ptrace_write_memory"); in invoker_invoke_gdbserver()
974 int rw; in invoker_invoke_gdbserver()
982 rw = ptrace_write_memory(pid, sp, in invoker_invoke_gdbserver()
985 if (rw != 0) { in invoker_invoke_gdbserver()
986 ERROR(rw, "push bad_return return address ptrace_write_memory"); in invoker_invoke_gdbserver()
1011 int rw; in invoker_invoke_gdbserver()
1012 rw = ptrace_read_memory(pid, shared64->invoke_gdbserver, in invoker_invoke_gdbserver()
1015 if (rw != 0) { in invoker_invoke_gdbserver()
1016 ERROR(rw, "ppc64 read func_addr\n"); in invoker_invoke_gdbserver()
1020 rw = ptrace_read_memory(pid, shared64->invoke_gdbserver+8, in invoker_invoke_gdbserver()
1023 if (rw != 0) { in invoker_invoke_gdbserver()
1024 ERROR(rw, "ppc64 read toc_addr\n"); in invoker_invoke_gdbserver()