summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-09-27 21:29:27 +0000
committerTom Tromey <tromey@redhat.com>2008-09-27 21:29:27 +0000
commit758a022dd272866bbba79e9a72d9c1557665581d (patch)
tree047233360311bca1dc504bb4f36390a15a592804 /gdb/m2-lang.h
parenteaf401a06ff4f7a69761810cace7d7628fcae2c8 (diff)
downloadgdb-758a022dd272866bbba79e9a72d9c1557665581d.tar.gz
gdb
* scm-lang.c (scm_language_defn): Update. * p-typeprint.c (pascal_print_typedef): New function. * p-lang.h: (pascal_print_typedef): Declare. * p-lang.c (pascal_language_defn): Update. * objc-lang.c (objc_language_defn): Update. * m2-typeprint.c (m2_print_typedef): New function. * m2-lang.h (m2_print_typedef): Declare. * m2-lang.c (m2_language_defn): Update. * language.h (_LANG_c, _LANG_m2, _LANG_fortran, _LANG_pascal): Remove. (struct language_defn) <la_print_typedef>: New field. (default_print_typedef): Declare. (LA_PRINT_TYPEDEF): New define. * language.c (unknown_language_defn): Update. (auto_language_defn): Update. (local_language_defn): Update. * jv-lang.c (java_language_defn): Update. * f-lang.c (f_language_defn): Update. * c-typeprint.c (c_print_typedef): New function. * c-lang.h (c_print_typedef): Declare. * c-lang.c (c_language_defn): Update. (cplus_language_defn): Update. (asm_language_defn): Update. (minimal_language_defn): Update. * ada-lang.c (ada_language_defn): Update. * typeprint.c (default_print_typedef): New function. gdb/doc * gdbint.texinfo (Language Support): Remove text about omitting support for a language.
Diffstat (limited to 'gdb/m2-lang.h')
-rw-r--r--gdb/m2-lang.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h
index ac7c8f5ad05..8ce458c3d49 100644
--- a/gdb/m2-lang.h
+++ b/gdb/m2-lang.h
@@ -26,6 +26,9 @@ extern void m2_error (char *); /* Defined in m2-exp.y */
extern void m2_print_type (struct type *, char *, struct ui_file *, int,
int);
+extern void m2_print_typedef (struct type *, struct symbol *,
+ struct ui_file *);
+
extern int m2_is_long_set (struct type *type);
extern int m2_is_unbounded_array (struct type *type);