aboutsummaryrefslogtreecommitdiff
path: root/gdb/run-on-main-thread.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-05-01 17:18:36 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-06-02 13:53:10 +0100
commit5bd40f2a3feb273e92b640544f6e5307c8124d90 (patch)
treec3ba117050973c6ccd8534667b3eeb408f459863 /gdb/run-on-main-thread.h
parent0874fd075b2a519022259a3cc48e650dc1daeeab (diff)
downloadgdb-5bd40f2a3feb273e92b640544f6e5307c8124d90.zip
gdb-5bd40f2a3feb273e92b640544f6e5307c8124d90.tar.gz
gdb-5bd40f2a3feb273e92b640544f6e5307c8124d90.tar.bz2
gdb: Convert language la_print_array_index field to a method
This commit changes the language_data::la_print_array_index 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_print_array_index): Delete function, move implementation to... (ada_language::print_array_index): ...here. (ada_language_data): Delete la_print_array_index initializer. * c-lang.c (c_language_data): Likewise. (cplus_language_data): Likewise. (minimal_language_data): Likewise. * d-lang.c (d_language_data): Likewise. * f-lang.c (f_language_data): Likewise. * go-lang.c (go_language_data): Likewise. * language.c (default_print_array_index): Delete function, move implementation to... (language_defn::print_array_index): ...here. (unknown_language_data): Delete la_print_array_index initializer. (auto_language_data): Likewise. * language.h (struct language_data): Delete la_print_array_index field. (language_defn::print_array_index): New member function. (LA_PRINT_ARRAY_INDEX): Update. (default_print_array_index): Delete declaration. * m2-lang.c (m2_language_data): Delete la_print_array_index 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.
Diffstat (limited to 'gdb/run-on-main-thread.h')
0 files changed, 0 insertions, 0 deletions