diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-21 14:38:20 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-21 14:38:20 +0000 |
commit | c244a140a5886ace48a9c18ebf9f268a0280f99b (patch) | |
tree | c58860bd9a1cc389eaf299113e8f700f2aeaf04d | |
parent | 930e005c64bf4473e395dffed9bab1c5d6dcba49 (diff) | |
download | gdb-c244a140a5886ace48a9c18ebf9f268a0280f99b.zip gdb-c244a140a5886ace48a9c18ebf9f268a0280f99b.tar.gz gdb-c244a140a5886ace48a9c18ebf9f268a0280f99b.tar.bz2 |
gdb/
* m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/m2-exp.y | 2 |
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 ')' |