From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10285 invoked by alias); 1 Feb 2008 17:00:11 -0000 Received: (qmail 349 invoked by uid 22791); 1 Feb 2008 16:55:03 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 16:54:33 +0000 Received: from zps75.corp.google.com (zps75.corp.google.com [172.25.146.75]) by smtp-out.google.com with ESMTP id m11GsROE029136 for ; Fri, 1 Feb 2008 08:54:27 -0800 Received: from wa-out-1112.google.com (wahj5.prod.google.com [10.114.236.5]) by zps75.corp.google.com with ESMTP id m11GsRVn002737 for ; Fri, 1 Feb 2008 08:54:27 -0800 Received: by wa-out-1112.google.com with SMTP id j5so655863wah.15 for ; Fri, 01 Feb 2008 08:54:26 -0800 (PST) Received: by 10.114.58.1 with SMTP id g1mr4147649waa.91.1201884866815; Fri, 01 Feb 2008 08:54:26 -0800 (PST) Received: by 10.114.13.5 with HTTP; Fri, 1 Feb 2008 08:54:26 -0800 (PST) Message-ID: Date: Fri, 01 Feb 2008 17:00:00 -0000 From: "Doug Evans" To: "Pierre Muller" Subject: Re: [Patch] p-exp.y: Typecast left operand of BINOP_DIV to long double Cc: "Daniel Jacobowitz" , gdb-patches@sourceware.org In-Reply-To: <008301c864ea$d6387c10$82a97430$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000c01c861c5$149352b0$3db9f810$@u-strasbg.fr> <20080131222641.GD6715@caradoc.them.org> <003801c864a4$1866bee0$49343ca0$@u-strasbg.fr> <20080201141546.GA28371@caradoc.them.org> <008301c864ea$d6387c10$82a97430$@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-02/txt/msg00020.txt.bz2 On Feb 1, 2008 7:55 AM, Pierre Muller wrote: > > You could cast the right operand instead; wouldn't that work? > Once the patch from Doug > http://sourceware.org/ml/gdb-patches/2008-01/msg00802.html > is committed, yes. > Until then the ptyp '34 / 3' > would still give the wrong type, > that is the reason why I chose to typecast > the left operand instead of the right one. > As that patch is likely not to be integrated > in 6.8, I thought that it would be better > to have also a correct output for ptype command. There are a few minor changes to make to http://sourceware.org/ml/gdb-patches/2008-01/msg00802.html but I was going to check it in today or tomorrow. Daniel, do I need to resubmit it, or can I just check it in and post what was checked in? [ref: http://sourceware.org/ml/gdb-patches/2008-01/msg00881.html]