diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-23 14:42:14 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-09-16 10:16:45 +0100 |
commit | 5bae7c4e048c69fe6eae96596c800a92b643f563 (patch) | |
tree | d5193512a0a6b828ddb6ea23f5e5fef42cae94cc /gdb/ChangeLog | |
parent | 22e3f3ed5c417fca6a39173a671dba707d2d6eaf (diff) | |
download | gdb-5bae7c4e048c69fe6eae96596c800a92b643f563.zip gdb-5bae7c4e048c69fe6eae96596c800a92b643f563.tar.gz gdb-5bae7c4e048c69fe6eae96596c800a92b643f563.tar.bz2 |
gdb: Convert la_name_of_this to a method
Convert language_data::la_name_of_this member variable to a virtual
method language_defn::name_of_this.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* ada-lang.c (ada_language_data): Remove la_name_of_this
initializer.
* ax-gdb.c (gen_expr): Update call to name_of_this.
* c-exp.y (classify_name): Likewise.
* c-lang.c (c_language_data): Remove la_name_of_this initializer.
(cplus_language_data): Likewise.
(cplus_language::name_of_this): New member function.
(asm_language_data): Remove la_name_of_this initializer.
(minimal_language_data): Likewise.
* d-lang.c (d_language_data): Likewise.
(d_language::name_of_this): New member function.
* expprint.c (print_subexp_standard): Update call to name_of_this.
* f-lang.c (f_language_data): Remove la_name_of_this initializer.
* go-lang.c (go_language_data): Likewise.
* language.c (unknown_language_data): Likewise.
(unknown_language::name_of_this): New member function.
(auto_language_data): Remove la_name_of_this initializer.
(auto_language::name_of_this): New member function.
* language.h (language_data): Delete la_name_of_this member
variable.
(language_defn::name_of_this): New member function.
* m2-lang.c (m2_language_data): Remove la_name_of_this
initializer.
* objc-lang.c (objc_language_data): Likewise.
(objc_language::name_of_this): New member function.
* opencl-lang.c (opencl_language_data): Remove la_name_of_this
initializer.
* p-lang.c (pascal_language_data): Likewise.
(pascal_language::name_of_this): New member function.
* rust-lang.c (rust_language_data): Remove la_name_of_this
initializer.
* symtab.c (lookup_language_this): Update call to name_of_this.
(lookup_symbol_aux): Likewise.
* valops.c (value_of_this): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef97ac1..a5d9d3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,42 @@ 2020-09-16 Andrew Burgess <andrew.burgess@embecosm.com> + * ada-lang.c (ada_language_data): Remove la_name_of_this + initializer. + * ax-gdb.c (gen_expr): Update call to name_of_this. + * c-exp.y (classify_name): Likewise. + * c-lang.c (c_language_data): Remove la_name_of_this initializer. + (cplus_language_data): Likewise. + (cplus_language::name_of_this): New member function. + (asm_language_data): Remove la_name_of_this initializer. + (minimal_language_data): Likewise. + * d-lang.c (d_language_data): Likewise. + (d_language::name_of_this): New member function. + * expprint.c (print_subexp_standard): Update call to name_of_this. + * f-lang.c (f_language_data): Remove la_name_of_this initializer. + * go-lang.c (go_language_data): Likewise. + * language.c (unknown_language_data): Likewise. + (unknown_language::name_of_this): New member function. + (auto_language_data): Remove la_name_of_this initializer. + (auto_language::name_of_this): New member function. + * language.h (language_data): Delete la_name_of_this member + variable. + (language_defn::name_of_this): New member function. + * m2-lang.c (m2_language_data): Remove la_name_of_this + initializer. + * objc-lang.c (objc_language_data): Likewise. + (objc_language::name_of_this): New member function. + * opencl-lang.c (opencl_language_data): Remove la_name_of_this + initializer. + * p-lang.c (pascal_language_data): Likewise. + (pascal_language::name_of_this): New member function. + * rust-lang.c (rust_language_data): Remove la_name_of_this + initializer. + * symtab.c (lookup_language_this): Update call to name_of_this. + (lookup_symbol_aux): Likewise. + * valops.c (value_of_this): Likewise. + +2020-09-16 Andrew Burgess <andrew.burgess@embecosm.com> + * ada-lang.c (ada_language_data): Remove la_struct_too_deep_ellipsis initializer. (ada_language::struct_too_deep_ellipsis): New member function. |