Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / regcache.c
index f0f7730f3e4cae204b7dec3444cddd30cf2e840b..6912b14d06e85834c14e55897dd71afdb956f839 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.025962 seconds and 4 git commands to generate.