aboutsummaryrefslogtreecommitdiff
path: root/gdb/process-stratum-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/process-stratum-target.c')
-rw-r--r--gdb/process-stratum-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/process-stratum-target.c b/gdb/process-stratum-target.c
index 658229f..f3fd9ee 100644
--- a/gdb/process-stratum-target.c
+++ b/gdb/process-stratum-target.c
@@ -29,7 +29,7 @@ struct address_space *
process_stratum_target::thread_address_space (ptid_t ptid)
{
/* Fall-back to the "main" address space of the inferior. */
- inferior *inf = find_inferior_ptid (ptid);
+ inferior *inf = find_inferior_ptid (this, ptid);
if (inf == NULL || inf->aspace == NULL)
internal_error (__FILE__, __LINE__,
@@ -43,7 +43,7 @@ process_stratum_target::thread_address_space (ptid_t ptid)
struct gdbarch *
process_stratum_target::thread_architecture (ptid_t ptid)
{
- inferior *inf = find_inferior_ptid (ptid);
+ inferior *inf = find_inferior_ptid (this, ptid);
gdb_assert (inf != NULL);
return inf->gdbarch;
}