This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. eb0b04635f2f57506ab4365b32a6fc0b62920d2f
- From: sergiodj at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 4 Sep 2014 14:30:22 -0000
- Subject: gdb and binutils branch master updated. eb0b04635f2f57506ab4365b32a6fc0b62920d2f
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via eb0b04635f2f57506ab4365b32a6fc0b62920d2f (commit)
from 5ee44bfa6bdb8eaf7f30eccb4fbdc989cb9bb7ca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eb0b04635f2f57506ab4365b32a6fc0b62920d2f
commit eb0b04635f2f57506ab4365b32a6fc0b62920d2f
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Thu Sep 4 10:28:31 2014 -0400
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.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++
gdb/f-valprint.c | 2 +-
gdb/testsuite/ChangeLog | 6 ++++
gdb/testsuite/gdb.fortran/print-formatted.exp | 39 +++++++++++++++++++++++++
gdb/testsuite/gdb.fortran/print-formatted.f90 | 20 +++++++++++++
5 files changed, 72 insertions(+), 1 deletions(-)
create mode 100644 gdb/testsuite/gdb.fortran/print-formatted.exp
create mode 100644 gdb/testsuite/gdb.fortran/print-formatted.f90
hooks/post-receive
--
gdb and binutils