diff options
Diffstat (limited to 'gdb/scoped-mock-context.h')
-rw-r--r-- | gdb/scoped-mock-context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/scoped-mock-context.h b/gdb/scoped-mock-context.h index ba3b81e..48fdbac 100644 --- a/gdb/scoped-mock-context.h +++ b/gdb/scoped-mock-context.h @@ -51,6 +51,7 @@ struct scoped_mock_context inferior_list.push_back (mock_inferior); mock_inferior.thread_list.push_back (mock_thread); + mock_inferior.ptid_thread_map[mock_ptid] = &mock_thread; mock_inferior.gdbarch = gdbarch; mock_inferior.aspace = mock_pspace.aspace; mock_inferior.pspace = &mock_pspace; |