Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / regcache.c
index b9f1b0a349fdbf0bf8cdf42352e41eb05c70fa2d..2dfe8eaf5feb13b23bebbd8323c2fb6bd00d34da 100644 (file)
@@ -1593,7 +1593,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.027154 seconds and 4 git commands to generate.