aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/m2-exp.y2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f858670..05f9c2a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
+
+2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 41271b7..0c3c657 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -265,7 +265,7 @@ exp : MIN_FUNC '(' type ')'
exp : MAX_FUNC '(' type ')'
{ write_exp_elt_opcode (UNOP_MAX);
write_exp_elt_type ($3);
- write_exp_elt_opcode (UNOP_MIN); }
+ write_exp_elt_opcode (UNOP_MAX); }
;
exp : FLOAT_FUNC '(' exp ')'