binutils-gdb/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
..
Makefile.in
amd64-tailcall-reverse.S
amd64-tailcall-reverse.c
amd64-tailcall-reverse.exp
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 Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
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 Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
finish-reverse.c
finish-reverse.exp Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
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 Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
i387-stack-reverse.c
i387-stack-reverse.exp Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
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 Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
ms1.c
next-reverse-bkpt-over-sr.exp
rerun-prec.c fix record "run" regression 2014-07-14 08:33:05 -06:00
rerun-prec.exp fix record "run" regression 2014-07-14 08:33:05 -06:00
shr.h
shr1.c
shr2.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
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 Separate out ANSI-standard signals 2014-06-09 10:34:33 +01:00
sigall-reverse.exp Delete Tru64 support 2014-10-17 11:18:59 +01:00
singlejmp-reverse-nodebug.S
singlejmp-reverse-nodebug.c
singlejmp-reverse.S
singlejmp-reverse.c
singlejmp-reverse.exp
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 GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
until-reverse.exp Drop remaining references to removed source lines in break1.c and ur1.c 2014-11-17 10:26:30 +01:00
ur1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
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 GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
watch-reverse.exp Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00