gdb: Print compatible information within print_xml_feature
[deliverable/binutils-gdb.git] / gdbserver / tdesc.cc
index 8d97defb9b5968c34968c47c178c739d2e7b5869..d21688b932b875a4beda8ea0d6d6aca68f9af2cf 100644 (file)
@@ -122,6 +122,27 @@ current_target_desc (void)
   return current_process ()->tdesc;
 }
 
+/* An empty structure.  */
+
+struct tdesc_compatible_info { };
+
+/* See gdbsupport/tdesc.h.  */
+
+const std::vector<tdesc_compatible_info_up> &
+tdesc_compatible_info_list (const target_desc *target_desc)
+{
+  static std::vector<tdesc_compatible_info_up> empty;
+  return empty;
+}
+
+/* See gdbsupport/tdesc.h.  */
+
+const char *
+tdesc_compatible_info_arch_name (const tdesc_compatible_info_up &c_info)
+{
+  return nullptr;
+}
+
 /* See gdbsupport/tdesc.h.  */
 
 const char *
This page took 0.022906 seconds and 4 git commands to generate.