470e2f4e30
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. |
||
---|---|---|
.. | ||
amd64-tailcall-reverse.c | ||
amd64-tailcall-reverse.exp | ||
amd64-tailcall-reverse.S | ||
break-precsave.exp | ||
break-reverse.c | ||
break-reverse.exp | ||
consecutive-precsave.exp | ||
consecutive-reverse.c | ||
consecutive-reverse.exp | ||
finish-precsave.exp | ||
finish-reverse-bkpt.exp | ||
finish-reverse.c | ||
finish-reverse.exp | ||
i386-precsave.exp | ||
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 | ||
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 | ||
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 | ||
solib-reverse.c | ||
solib-reverse.exp | ||
step-precsave.exp | ||
step-reverse.c | ||
step-reverse.exp | ||
until-precsave.exp | ||
until-reverse.c | ||
until-reverse.exp | ||
ur1.c | ||
watch-precsave.exp | ||
watch-reverse.c | ||
watch-reverse.exp |