aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-service.c')
-rw-r--r--gdb/proc-service.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 366e051..f735eb0 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -72,8 +72,7 @@ static ps_err_e
ps_xfer_memory (const struct ps_prochandle *ph, psaddr_t addr,
gdb_byte *buf, size_t len, int write)
{
- scoped_restore_current_inferior_for_memory save_inferior (ph->thread->inf,
- ph->thread->ptid);
+ scoped_restore_current_inferior_for_memory save_inferior (ph->thread->inf);
CORE_ADDR core_addr = ps_addr_to_core_addr (addr);