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] Fix PR fortran/17237: bug in f-valprint.c


> 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


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