]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.c
convert to_supports_btrace
[thirdparty/binutils-gdb.git] / gdb / target.c
index 76f4c150e40c06179e755fc3f9b654be0e839cbb..7ac87283e6bf72b404d4c16dad279873e949e785 100644 (file)
@@ -4170,20 +4170,6 @@ target_ranged_break_num_registers (void)
 
 /* See target.h.  */
 
-int
-target_supports_btrace (void)
-{
-  struct target_ops *t;
-
-  for (t = current_target.beneath; t != NULL; t = t->beneath)
-    if (t->to_supports_btrace != NULL)
-      return t->to_supports_btrace ();
-
-  return 0;
-}
-
-/* See target.h.  */
-
 struct btrace_target_info *
 target_enable_btrace (ptid_t ptid)
 {