This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Fix Modula2 MAX_FUNC typo
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 21 May 2009 16:40:29 +0200
- Subject: [obv] Fix Modula2 MAX_FUNC typo
Hi,
unaware of modula2, no regressions, it looks to me as an apparent typo. Still
the result of this code is IMO currently not in use at all.
Regards,
Jan
http://sourceware.org/ml/gdb-cvs/2009-05/msg00136.html
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
--- src/gdb/m2-exp.y 2009/03/18 08:51:11 1.26
+++ src/gdb/m2-exp.y 2009/05/21 14:38:20 1.27
@@ -265,7 +265,7 @@
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 ')'