This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Handle BINOP_INTDIV in valarith.c
- From: Eli Zaretskii <eliz at gnu dot org>
- To: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 16 Jan 2008 21:10:17 +0200
- Subject: Re: [RFA] Handle BINOP_INTDIV in valarith.c
- References: <002d01c85849$ef420f80$cdc62e80$@u-strasbg.fr>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Date: Wed, 16 Jan 2008 15:13:14 +0100
>
> While trying to write a pascal expression parser test
> I came upon the problem that
> BINOP_INTDIV is not handled in value_binop function.
>
> (gdb) set lang pascal
> (gdb) print 25 div 2
> GDB does not (yet) know how to evaluate that kind of expression
>
> This patch fixes this.
>
> OK to commit?
If this patch is approved, please document this operator in the
"Pascal" node of the user manual.
TIA