summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.h
diff options
context:
space:
mode:
authorGaius Mulley <gaius@glam.ac.uk>2007-10-16 17:36:51 +0000
committerGaius Mulley <gaius@glam.ac.uk>2007-10-16 17:36:51 +0000
commit0a3e31a04b713436fbd036bca000baf20ded9978 (patch)
tree50d67d084464380b91fb17ddc2c42b7d826f672c /gdb/m2-lang.h
parent561d0b4d163aeec64cecbe50e90e7c30dea6bdf2 (diff)
downloadgdb-0a3e31a04b713436fbd036bca000baf20ded9978.tar.gz
* doc/gdb.texinfo: Add TSIZE definition, removed
statement about unbounded arrays being unimplemented. * m2-valprint.c (m2_print_array_contents): New function. (m2_print_unbounded_array): New function. (m2_print_array_contents): New function. * m2-typeprint.c (m2_unbounded_array): New function. (m2_is_unbounded_array): New function. (m2_print_type): Test for unbounded array when walking across structs. * m2-lang.h: Added extern m2_is_unbounded_array. * m2-lang.c (evaluate_subexp_modula2): New function. (exp_descriptor_modula2): New structure. (m2_language_defn): Use exp_descriptor_modula2. * m2-exp.y: Added TSIZE and binary subscript.
Diffstat (limited to 'gdb/m2-lang.h')
-rw-r--r--gdb/m2-lang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h
index 10d23826e89..2e81ead3c8f 100644
--- a/gdb/m2-lang.h
+++ b/gdb/m2-lang.h
@@ -26,6 +26,7 @@ extern void m2_print_type (struct type *, char *, struct ui_file *, int,
int);
extern int m2_is_long_set (struct type *type);
+extern int m2_is_unbounded_array (struct type *type);
extern int m2_val_print (struct type *, const gdb_byte *, int, CORE_ADDR,
struct ui_file *, int, int, int,