diff options
author | Gaius Mulley <gaius@glam.ac.uk> | 2007-10-16 17:36:51 +0000 |
---|---|---|
committer | Gaius Mulley <gaius@glam.ac.uk> | 2007-10-16 17:36:51 +0000 |
commit | 844781a1bed001865515739fc576c268af2127d6 (patch) | |
tree | 1a3131da91b80cb47448da1be3e35db0d7b8d8f7 /gdb/m2-lang.h | |
parent | e831e7b6ed2afd432c9791873284b5a1db9c5b97 (diff) | |
download | gdb-844781a1bed001865515739fc576c268af2127d6.zip gdb-844781a1bed001865515739fc576c268af2127d6.tar.gz gdb-844781a1bed001865515739fc576c268af2127d6.tar.bz2 |
* 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h index 10d2382..2e81ead 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, |