This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Handle BINOP_INTDIV in valarith.c


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]