[PING] [PATCH] Fix gdb.fortran/array-element.exp failures.

Gabriel Krisman Bertazi gabriel@krisman.be
Tue Sep 9 14:55:00 GMT 2014


Joel,

> To help us out, it's useful to show what the patch does in practice.
> In this case, I'd like to do what's not working before the patch
> gets applied, and how things change once your patch is applied.
> GDB transcripts before and after usually help with that.

Sorry I didn't resend the original message with my pings.  Here it goes.

This fixes two FAIL results when running this test file due to a
misplaced "continue" command, which caused the inferior to end execution
prematurely.

On trunk, we have:

FAIL: gdb.fortran/array-element.exp: continue to breakpoint once again
(the program exited)
FAIL: gdb.fortran/array-element.exp: print the second element of array a

                === gdb Summary ===

                # of expected passes            3
                # of unexpected failures        2

And now, we get:
                === gdb Summary ===
                # of expected passes            3

Is this ok?

2014-07-04  Gabriel Krisman Bertazi  <gabriel@krisman.be>

	* gdb.fortran/array-element.exp: Remove wrong "continue"
	command.  Simplify test case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fortran_patch.patch
Type: text/x-patch
Size: 974 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140909/6da91da0/attachment.bin>
-------------- next part --------------

-- 
Gabriel Krisman Bertazi


More information about the Gdb-patches mailing list