Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / regcache.c
index 1580359cd485d460282fe2f43a57af3de0fe553d..d9774d98822c1d405efdb6dd535da46c5ecd3b89 100644 (file)
@@ -1535,7 +1535,7 @@ cooked_read_test (struct gdbarch *gdbarch)
   mock_inferior.gdbarch = gdbarch;
   mock_inferior.aspace = &mock_aspace;
   thread_info mock_thread (&mock_inferior, mock_ptid);
-  mock_inferior.thread_list = &mock_thread;
+  mock_inferior.thread_map[mock_ptid] = &mock_thread;
 
   /* Add the mock inferior to the inferior list so that look ups by
      target+ptid can find it.  */
This page took 0.023069 seconds and 4 git commands to generate.