old-cross-binutils/gdb/testsuite/gdb.reverse
Luis Machado 470e2f4e30 I caught a few mingw32-specific failures for some of the gdb.reverse
tests.

FAIL: gdb.reverse/consecutive-precsave.exp: reload precord save file
FAIL: gdb.reverse/finish-precsave.exp: reload precord save file
FAIL: gdb.reverse/until-precsave.exp: reload core file
FAIL: gdb.reverse/watch-precsave.exp: reload core file
FAIL: gdb.reverse/step-precsave.exp: reload core file
FAIL: gdb.reverse/break-precsave.exp: reload precord save file
FAIL: gdb.reverse/sigall-precsave.exp: reload precord save file

They happen for two reasons.

- mingw32 does not define SIGTRAP, so upon recording a core file, the
signal information will be missing, which in turn causes GDB to not
display the stopping signal when it loads the same core file.  An
earlier message warns about this:

"warning: Signal SIGTRAP does not exist on this system."

- The testcase is crafted in a way that expects a pattern of the
stopping signal message instead of a successful core file read message.

The following patch fixes this by changing the old pattern to a more
reasonable one, while still ignoring the fact that mingw32-based GDB
does not record a SIGTRAP in a core file because it does not define
it.

gdb/testsuite/

2014-11-18  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.reverse/break-precsave: Expect completion message for
	core file reads.
	* gdb.reverse/consecutive-precsave.exp: Likewise.
	* gdb.reverse/finish-precsave.exp: Likewise.
	* gdb.reverse/i386-precsave.exp: Likewise.
	* gdb.reverse/machinestate-precsave.exp: Likewise.
	* gdb.reverse/sigall-precsave.exp: Likewise.
	* gdb.reverse/solib-precsave.exp: Likewise.
	* gdb.reverse/step-precsave.exp: Likewise.
	* gdb.reverse/until-precsave.exp: Likewise.
	* gdb.reverse/watch-precsave.exp: Likewise.
2014-11-18 11:16:37 -02:00
..
amd64-tailcall-reverse.c
amd64-tailcall-reverse.exp
amd64-tailcall-reverse.S
break-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
break-reverse.c
break-reverse.exp
consecutive-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
consecutive-reverse.c
consecutive-reverse.exp
finish-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
finish-reverse-bkpt.exp
finish-reverse.c
finish-reverse.exp
i386-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
i386-reverse.c
i386-reverse.exp
i386-sse-reverse.c
i386-sse-reverse.exp
i387-env-reverse.c
i387-env-reverse.exp
i387-stack-reverse.c
i387-stack-reverse.exp
machinestate-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
machinestate.c
machinestate.exp
Makefile.in
ms1.c
next-reverse-bkpt-over-sr.exp
rerun-prec.c
rerun-prec.exp
shr.h
shr1.c
shr2.c
sigall-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
sigall-reverse.c
sigall-reverse.exp
singlejmp-reverse-nodebug.c
singlejmp-reverse-nodebug.S
singlejmp-reverse.c
singlejmp-reverse.exp
singlejmp-reverse.S
solib-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
solib-reverse.c
solib-reverse.exp
step-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
step-reverse.c
step-reverse.exp
until-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
until-reverse.c
until-reverse.exp
ur1.c
watch-precsave.exp I caught a few mingw32-specific failures for some of the gdb.reverse 2014-11-18 11:16:37 -02:00
watch-reverse.c
watch-reverse.exp