gdb: Convert language la_get_compile_instance field to a method
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 34c55810852d725b5f76ced39b0791f51ecf7f77..a05b6b14a31d4068001a8139966b08ab4ad86952 100644 (file)
@@ -1,3 +1,33 @@
+2020-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ada-lang.c (ada_language_data): Delete la_get_compile_instance
+       initializer.
+       * c-lang.c (class compile_instance): Declare.
+       (c_language_data): Delete la_get_compile_instance initializer.
+       (c_language::get_compile_instance): New member function.
+       (cplus_language_data): Delete la_get_compile_instance initializer.
+       (cplus_language::get_compile_instance): New member function.
+       (asm_language_data): Delete la_get_compile_instance initializer.
+       (minimal_language_data): Likewise.
+       * c-lang.h (c_get_compile_context): Update comment.
+       (cplus_get_compile_context): Update comment.
+       * compile/compile.c (compile_to_object): Update calls, don't rely
+       on function pointer being NULL.
+       * d-lang.c (d_language_data): Delete la_get_compile_instance
+       initializer.
+       * f-lang.c (f_language_data): Likewise.
+       * go-lang.c (go_language_data): Likewise.
+       * language.c (unknown_language_data): Likewise.
+       (auto_language_data): Likewise.
+       * language.h (language_data): Delete la_get_compile_instance field.
+       (language_defn::get_compile_instance): New member function.
+       * m2-lang.c (m2_language_data): Delete la_get_compile_instance
+       initializer.
+       * objc-lang.c (objc_language_data): Likewise.
+       * opencl-lang.c (opencl_language_data): Likewise.
+       * p-lang.c (pascal_language_data): Likewise.
+       * rust-lang.c (rust_language_data): Likewise.
+
 2020-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * ada-lang.c (ada_add_all_symbols): Update comment.
This page took 0.029337 seconds and 4 git commands to generate.