From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13410 invoked by alias); 16 Jan 2008 19:11:15 -0000 Received: (qmail 13400 invoked by uid 22791); 16 Jan 2008 19:11:14 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 Jan 2008 19:10:53 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-249-38.inter.net.il [84.228.249.38]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IWK76689 (AUTH halo1); Wed, 16 Jan 2008 21:07:44 +0200 (IST) Date: Wed, 16 Jan 2008 19:11:00 -0000 Message-Id: From: Eli Zaretskii To: "Pierre Muller" CC: gdb-patches@sourceware.org In-reply-to: <002d01c85849$ef420f80$cdc62e80$@u-strasbg.fr> (muller@ics.u-strasbg.fr) Subject: Re: [RFA] Handle BINOP_INTDIV in valarith.c Reply-to: Eli Zaretskii References: <002d01c85849$ef420f80$cdc62e80$@u-strasbg.fr> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00414.txt.bz2 > From: "Pierre Muller" > 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