+2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * language.h (struct language_defn) <la_struct_too_deep_ellipsis>:
+ New field.
+ * ada-lang.c (ada_language_defn): Initialise new field.
+ * c-lang.c (c_language_defn): Likewise.
+ (cplus_language_defn): Likewise.
+ (asm_language_defn): Likewise.
+ (minimal_language_defn): Likewise.
+ * d-lang.c (d_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * go-lang.c (go_language_defn): Likewise.
+ * language.c (unknown_language_defn): Likewise.
+ (auto_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * opencl-lang.c (opencl_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+ * rust-lang.c (rust_language_defn): Likewise.
+
2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
* ada-lang.c (ada_is_character_type): Change return type to bool.
default_search_name_hash,
&ada_varobj_ops,
NULL,
- NULL
+ NULL,
+ "(...)" /* la_struct_too_deep_ellipsis */
};
/* Command-list for the "set/show ada" prefix command. */
default_search_name_hash,
&c_varobj_ops,
c_get_compile_context,
- c_compute_program
+ c_compute_program,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
enum cplus_primitive_types {
cp_search_name_hash,
&cplus_varobj_ops,
cplus_get_compile_context,
- cplus_compute_program
+ cplus_compute_program,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
static const char *asm_extensions[] =
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
/* The following language_defn does not represent a real language.
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
/* Build all D language types for the specified architecture. */
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "(...)" /* la_struct_too_deep_ellipsis */
};
static void *
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
static void *
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
/* These two structs define fake entries for the "local" and "auto"
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
\f
struct gdbarch *gdbarch,
const struct block *expr_block,
CORE_ADDR expr_pc);
+
+ /* This string is used by the 'set print max-depth' setting. When GDB
+ replaces a struct or union (during value printing) that is "too
+ deep" this string is displayed instead. */
+ const char *la_struct_too_deep_ellipsis;
+
};
/* Pointer to the language_defn for our current language. This pointer
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
static void *
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
/*
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
static void *
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};
default_search_name_hash,
&default_varobj_ops,
NULL,
- NULL
+ NULL,
+ "{...}" /* la_struct_too_deep_ellipsis */
};