From: Jan Kratochvil Date: Thu, 21 May 2009 14:38:20 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c244a140a5886ace48a9c18ebf9f268a0280f99b;p=binutils-gdb.git gdb/ * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8586705d97..05f9c2a3931 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-21 Jan Kratochvil + + * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX. + 2009-05-21 Jan Kratochvil * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99. diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 41271b77ba8..0c3c6576e60 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 ')'