mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-14 12:53:34 +08:00
a80db0157c
Some testcases, mostly gdb.reverse ones, assume the presence of a '/' directory separator before the source file name. This is incorrect for mingw32 hosts, generating false failures for those tests. I attempted to catch most of the occurrences of the pattern ".*/$srcfile" and replaced them with ".*$srcfile". The latter is used elsewhere in the testsuite. The resulting patch is attached. I also see other occurrences of the same assumption throughout the testsuite, but usually they are arguments for function calls and i seem to recall either the test harness or GDB deals with those paths properly. gdb/testsuite: 2014-10-17 Luis Machado <lgustavo@codesourcery.com> * gdb.guile/scm-breakpoint.exp: Do not assume any directory separators when matching source file paths. * gdb.python/py-breakpoint.exp: Likewise. * gdb.reverse/break-precsave.exp: Likewise. * gdb.reverse/break-reverse.exp: Likewise. * gdb.reverse/consecutive-precsave.exp: Likewise. * gdb.reverse/finish-precsave.exp: Likewise. * gdb.reverse/finish-reverse-bkpt.exp: Likewise. * gdb.reverse/finish-reverse.exp: Likewise. * gdb.reverse/i386-precsave.exp: Likewise. * gdb.reverse/i387-env-reverse.exp: Likewise. * gdb.reverse/i387-stack-reverse.exp: Likewise. * gdb.reverse/machinestate-precsave.exp: Likewise. * gdb.reverse/machinestate.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. * gdb.reverse/watch-reverse.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 | ||
shr1.c | ||
shr2.c | ||
shr.h | ||
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 |