binutils-gdb/gdb/testsuite/gdb.fortran
Sergio Durigan Junior eb0b04635f Fix PR fortran/17237: bug in f-valprint.c
This commit fixes the PR mentioned in $subject.  It is about a set but
unused variable that refers to the output format of integer values
printed in Fortran.

This was probably a thinko (like most set-but-unused-vars), but it
could cause an internal error depending on the scenario.  I am sending
a testcase which triggers this error as well.

gdb/ChangeLog:
2014-09-04  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-04  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR fortran/17237
	* gdb.fortran/print-formatted.exp: New file.
	* gdb.fortran/print-formatted.f90: Likewise.
2014-09-04 10:30:01 -04:00
..
Makefile.in Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
array-element.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
array-element.f Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
charset.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
charset.f90
common-block.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
common-block.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
complex.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
complex.f Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
derived-type.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
derived-type.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
exprs.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
library-module-lib.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
library-module-main.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
library-module.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
logical.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
logical.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
module.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
module.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
multi-dim.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
multi-dim.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
print-formatted.exp Fix PR fortran/17237: bug in f-valprint.c 2014-09-04 10:30:01 -04:00
print-formatted.f90 Fix PR fortran/17237: bug in f-valprint.c 2014-09-04 10:30:01 -04:00
subarray.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
subarray.f Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
type.f90 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
types.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
whatis_type.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00