binutils-gdb/gdb/compile
Andrew Burgess 9a49ad8c52 gdb: Convert language la_compute_program field to a method
This commit changes the language_data::la_compute_program function
pointer member variable into a member function of language_defn.

There should be no user visible changes after this commit.

gdb/ChangeLog:

	* ada-lang.c (ada_language_data): Delete la_compute_program
	initializer.
	* c-lang.c (c_language_data): Likewise.
	(c_language::compute_program): New member function.
	(cplus_language_data): Delete la_compute_program initializer.
	(cplus_language::compute_program): New member function.
	(asm_language_data): Delete la_compute_program initializer.
	(minimal_language_data): Likewise.
	* c-lang.h (c_compute_program): Update comment.
	(cplus_compute_program): Likewise.
	* compile/compile-c-support.c (c_compute_program): Likewise.
	(cplus_compute_program): Likewise.
	* compile/compile.c (compile_to_object): Update call to
	la_compute_program.
	* d-lang.c (d_language_data): Delete la_compute_program
	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_compute_program field.
	(language_defn::compute_program): New member function.
	* m2-lang.c (m2_language_data): Delete la_compute_program
	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-17 09:25:09 +01:00
..
compile-c-support.c gdb: Convert language la_compute_program field to a method 2020-06-17 09:25:09 +01:00
compile-c-symbols.c gdb: remove TYPE_FIELD_TYPE macro 2020-06-08 15:26:31 -04:00
compile-c-types.c gdb: remove TYPE_FIELD_TYPE macro 2020-06-08 15:26:31 -04:00
compile-c.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-cplus-symbols.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
compile-cplus-types.c gdb: remove TYPE_FIELD_TYPE macro 2020-06-08 15:26:31 -04:00
compile-cplus.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-internal.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-loc2c.c Remove dwarf2_per_cu_data::text_offset 2020-05-27 11:15:57 -04:00
compile-object-load.c gdb: remove TYPE_FIELD_TYPE macro 2020-06-08 15:26:31 -04:00
compile-object-load.h Remove obsolete declaration 2020-05-22 13:35:13 -06:00
compile-object-run.c gdb: remove TYPE_FIELD_TYPE macro 2020-06-08 15:26:31 -04:00
compile-object-run.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile.c gdb: Convert language la_compute_program field to a method 2020-06-17 09:25:09 +01:00
compile.h Remove dwarf2_per_cu_data::text_offset 2020-05-27 11:15:57 -04:00
gcc-c-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gcc-cp-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00