gdb: Convert language la_language_arch_info field to a method
[deliverable/binutils-gdb.git] / gdb / language.h
index cc0d0ffab832c6ca3edb0177a1196544f7913b37..4cf16c11540f88b9abba11f64703b2849399ea9f 100644 (file)
@@ -368,10 +368,6 @@ struct language_data
        const char *word,
        enum type_code code);
 
-    /* The per-architecture (OS/ABI) language information.  */
-    void (*la_language_arch_info) (struct gdbarch *,
-                                  struct language_arch_info *);
-
     /* Return an expression that can be used for a location
        watchpoint.  TYPE is a pointer type that points to the memory
        to watch, and ADDR is the address of the watched memory.  */
@@ -503,6 +499,11 @@ struct language_defn : language_data
     return {};
   }
 
+  /* The per-architecture (OS/ABI) language information.  */
+
+  virtual void language_arch_info (struct gdbarch *,
+                                  struct language_arch_info *) const = 0;
+
   /* List of all known languages.  */
   static const struct language_defn *languages[nr_languages];
 };
This page took 0.023762 seconds and 4 git commands to generate.