aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorDavid Lecomber <david@lecomber.net>2004-08-29 10:12:24 +0000
committerDavid Lecomber <david@lecomber.net>2004-08-29 10:12:24 +0000
commit7ca2d3a37165b1847d70b4436d8b2d62d0d5fba7 (patch)
treefbe75dec9d20c099a13c1126dc1115ed85a87e49 /gdb/m2-lang.c
parent47e35c11d6ece68ddf7069b36f20a6d6fbb7c465 (diff)
downloadgdb-7ca2d3a37165b1847d70b4436d8b2d62d0d5fba7.zip
gdb-7ca2d3a37165b1847d70b4436d8b2d62d0d5fba7.tar.gz
gdb-7ca2d3a37165b1847d70b4436d8b2d62d0d5fba7.tar.bz2
2004-08-29 David Lecomber <david@streamline-computing.com>
Fix PR gdb/648 * language.h (enum array_ordering): New enum. * language.h (struct language_defn): New la_array_ordering attribute. * language.c (unknown_language_defn, auto_language_defn) (local_language_defn): Ditto. * ada-lang.c (ada_language_defn): Ditto. * c-lang.c (c_language_defn, cplus_language_defn) (asm_language_defn, minimal_language_defn): Ditto. * f-lang.c (f_language_defn): Ditto. * jv-lang.c (java_language_defn): Ditto. * m2-lang.c (f_language_defn): Ditto. * objc-lang.c (objc_language_defn): Ditto. * p-lang.c (pascal_language_defn): Ditto. * scm-lang.c (scm_language_defn): Ditto. * eval.c (evaluate_subexp_standard): Assume Fortran arrays are oriented large to small in type structure. * dwarf2read.c (read_array_order): New function. (read_array_type): Use read_array_order to check row/column major ordering.
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 722805e..746b2f4 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -415,6 +415,7 @@ const struct language_defn m2_language_defn =
range_check_on,
type_check_on,
case_sensitive_on,
+ array_row_major,
&exp_descriptor_standard,
m2_parse, /* parser */
m2_error, /* parser error function */