[LynxOS] GDBserver crash debugging threaded program
[deliverable/binutils-gdb.git] / gdb / gdbserver / regcache.c
index e11b17332feeebb6a6e8210ac4a61f41b647e5b5..b9311fe4f27ffc5ec7810edd6843fe0a7f18a543 100644 (file)
@@ -107,13 +107,23 @@ regcache_invalidate_one (struct inferior_list_entry *entry,
   return 0;
 }
 
+/* See regcache.h.  */
+
+void
+regcache_invalidate_pid (int pid)
+{
+  find_inferior (&all_threads, regcache_invalidate_one, &pid);
+}
+
+/* See regcache.h.  */
+
 void
 regcache_invalidate (void)
 {
   /* Only update the threads of the current process.  */
   int pid = ptid_get_pid (current_thread->entry.id);
 
-  find_inferior (&all_threads, regcache_invalidate_one, &pid);
+  regcache_invalidate_pid (pid);
 }
 
 #endif
This page took 0.025245 seconds and 4 git commands to generate.