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: [PATCH] fortran: Print logical values as either .FALSE. or .TRUE.


On Wed, 13 Jul 2016 15:32:40 +0200, Weinmann, Christoph T wrote:
> > If the compiler evaluates the whole value, val==16, then GDB will print
> > something different than what the compiler evaluates.
> >
> I will investigate here too, as I confess I was focused on gfortran and ifort here.

It may be good to write into the comment how specifically gfortran and how
ifort behave.

And for example if gfortran always uses only 0 or 1 then GDB should print
rather the value as number if it is >=2 - as it indicates some bug in the
inferior code.


Thanks,
Jan


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