[PATCH] Fix PR fortran/17237: bug in f-valprint.c
Joel Brobecker
brobecker@adacore.com
Wed Sep 3 06:28:00 GMT 2014
> gdb/ChangeLog:
> 2014-09-02 Sergio Durigan Junior <sergiodj@redhat.com>
>
> PR fortran/17237
> * f-valprint.c (f_val_print): Specify the correct print option to
> use when printing integer values.
>
> gdb/testsuite/ChangeLog:
> 2014-09-02 Sergio Durigan Junior <sergiodj@redhat.com>
>
> PR fortran/17237
> * gdb.fortran/print-formatted.exp: New file.
> * gdb.fortran/print-formatted.f90: Likewise.
OK!
One minor suggestion:
> +gdb_test "print ii" " = 0xa" "print ii"
You don't really need the second "print ii" in the call to gdb_test,
I think. By default, the name of the test is the same as the test
itself. OK with me either way.
--
Joel
More information about the Gdb-patches
mailing list