diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-23 14:16:32 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-09-16 10:16:44 +0100 |
commit | 22e3f3ed5c417fca6a39173a671dba707d2d6eaf (patch) | |
tree | e71b480339e4e991dc7c740db9bd00304cb397e0 /gdb/c-lang.c | |
parent | ed29e1c7e052765b6b5c93392cca8d1e0320b3c7 (diff) | |
download | gdb-22e3f3ed5c417fca6a39173a671dba707d2d6eaf.zip gdb-22e3f3ed5c417fca6a39173a671dba707d2d6eaf.tar.gz gdb-22e3f3ed5c417fca6a39173a671dba707d2d6eaf.tar.bz2 |
gdb: Convert la_struct_too_deep_ellipsis to a method
Convert language_data::la_struct_too_deep_ellipsis member variable to
a method in language_defn.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* ada-lang.c (ada_language_data): Remove
la_struct_too_deep_ellipsis initializer.
(ada_language::struct_too_deep_ellipsis): New member function.
* c-lang.c (c_language_data): Remove la_struct_too_deep_ellipsis
initializer.
(cplus_language_data): Likewise.
(asm_language_data): Likewise.
(minimal_language_data): Likewise.
* cp-valprint.c (cp_print_value): Update call to
struct_too_deep_ellipsis.
* d-lang.c (d_language_data): Remove la_struct_too_deep_ellipsis
initializer.
* f-lang.c (f_language_data): Likewise.
(f_language::struct_too_deep_ellipsis): New member function.
* go-lang.c (go_language_data): Remove la_struct_too_deep_ellipsis
initializer.
* language.c (unknown_language_data): Likewise.
(auto_language_data): Likewise.
* language.h (language_data): Delete la_struct_too_deep_ellipsis
member variable.
(language_defn::struct_too_deep_ellipsis): New member function.
* m2-lang.c (m2_language_data): Remove la_struct_too_deep_ellipsis
initializer.Q
* 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.
* valprint.c (val_print_check_max_depth): Update call to
struct_too_deep_ellipsis.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 0362870..8a70470 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -895,7 +895,6 @@ extern const struct language_data c_language_data = 1, /* c-style arrays */ 0, /* String lower bound */ &c_varobj_ops, - "{...}" /* la_struct_too_deep_ellipsis */ }; /* Class representing the C language. */ @@ -996,7 +995,6 @@ extern const struct language_data cplus_language_data = 1, /* c-style arrays */ 0, /* String lower bound */ &cplus_varobj_ops, - "{...}" /* la_struct_too_deep_ellipsis */ }; /* A class for the C++ language. */ @@ -1194,7 +1192,6 @@ extern const struct language_data asm_language_data = 1, /* c-style arrays */ 0, /* String lower bound */ &default_varobj_ops, - "{...}" /* la_struct_too_deep_ellipsis */ }; /* A class for the ASM language. */ @@ -1250,7 +1247,6 @@ extern const struct language_data minimal_language_data = 1, /* c-style arrays */ 0, /* String lower bound */ &default_varobj_ops, - "{...}" /* la_struct_too_deep_ellipsis */ }; /* A class for the minimal language. */ |