Multi-target support
[deliverable/binutils-gdb.git] / gdb / btrace.c
index 407f01ad740f0e43a54f157cace35fad42aa4f38..a91a67681302ad032e6974fcebfca9d8ca92f3eb 100644 (file)
@@ -3228,7 +3228,7 @@ maint_btrace_packet_history_cmd (const char *arg, int from_tty)
   struct btrace_thread_info *btinfo;
   unsigned int size, begin, end, from, to;
 
-  thread_info *tp = find_thread_ptid (inferior_ptid);
+  thread_info *tp = find_thread_ptid (current_inferior (), inferior_ptid);
   if (tp == NULL)
     error (_("No thread."));
 
This page took 0.024613 seconds and 4 git commands to generate.