[Patch] p-exp.y: Typecast left operand of BINOP_DIV to long double

Doug Evans dje@google.com
Fri Feb 1 17:00:00 GMT 2008


On Feb 1, 2008 7:55 AM, Pierre Muller <muller@ics.u-strasbg.fr> 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]



More information about the Gdb-patches mailing list