btrace: add format argument to supports_btrace
[deliverable/binutils-gdb.git] / gdb / btrace.c
index 3b20981a6db2d4a8699d795afdc1832eb20768f3..4e32bdcb4261b4c41c9cbd61c8f9338a149b5fa8 100644 (file)
@@ -731,7 +731,7 @@ btrace_enable (struct thread_info *tp)
   if (tp->btrace.target != NULL)
     return;
 
-  if (!target_supports_btrace ())
+  if (!target_supports_btrace (BTRACE_FORMAT_BTS))
     error (_("Target does not support branch tracing."));
 
   DEBUG ("enable thread %d (%s)", tp->num, target_pid_to_str (tp->ptid));
This page took 0.027079 seconds and 4 git commands to generate.