Explicitly include <array> for std::array<>.
[deliverable/binutils-gdb.git] / gdb / go-lang.c
index f3b4f5cf1cf3c36e40b088b718eaa8da6a20d40d..60bb3c55472804f3349b551c60f364b9dc63c0d1 100644 (file)
@@ -565,7 +565,7 @@ go_language_arch_info (struct gdbarch *gdbarch,
   lai->bool_type_default = builtin->builtin_bool;
 }
 
-static const struct language_defn go_language_defn =
+extern const struct language_defn go_language_defn =
 {
   "go",
   "Go",
@@ -676,6 +676,4 @@ void
 _initialize_go_language (void)
 {
   go_type_data = gdbarch_data_register_post_init (build_go_types);
-
-  add_language (&go_language_defn);
 }
This page took 0.025682 seconds and 4 git commands to generate.