[PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA.
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.c
index 5e7560f8de6f487fd2946e97cc04290f333dd8fc..983b2d1b8072377b28f14c6982359161f4ccf292 100644 (file)
@@ -6405,6 +6405,15 @@ linux_supports_catch_syscall (void)
          && linux_supports_tracesysgood ());
 }
 
+static int
+linux_get_ipa_tdesc_idx (void)
+{
+  if (the_low_target.get_ipa_tdesc_idx == NULL)
+    return 0;
+
+  return (*the_low_target.get_ipa_tdesc_idx) ();
+}
+
 static int
 linux_supports_tracepoints (void)
 {
@@ -7382,6 +7391,7 @@ static struct target_ops linux_target_ops = {
   linux_breakpoint_kind_from_current_state,
   linux_supports_software_single_step,
   linux_supports_catch_syscall,
+  linux_get_ipa_tdesc_idx,
 };
 
 #ifdef HAVE_LINUX_REGSETS
This page took 0.023983 seconds and 4 git commands to generate.