binutils-gdb/gdb/testsuite/gdb.reverse
Tom de Vries c2ac533e98 [gdb/testsuite] Fix gdb.reverse/test_ioctl_TCSETSW.exp with libc debuginfo
When running test-case gdb.reverse/test_ioctl_TCSETSW.exp with glibc debuginfo
installed, I run into:
...
(gdb) PASS: gdb.reverse/test_ioctl_TCSETSW.exp: at TCSETSW call
step^M
__tcsetattr (fd=0, optional_actions=1, termios_p=0x7fffffffcf50) at \
  ../sysdeps/unix/sysv/linux/tcsetattr.c:45^M
45      {^M
(gdb) FAIL: gdb.reverse/test_ioctl_TCSETSW.exp: handle TCSETSW
...

The problem is that the step is expected to step over the call to tcsetattr,
but due to glibc debuginfo being installed, we step into the call.

Fix this by using next instead of step.

Tested on x86_64-linux.
2022-06-14 00:26:46 +02:00
..
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
fstatat-reverse.c
fstatat-reverse.exp
getresuid-reverse.c
getresuid-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
insn-reverse-aarch64.c
insn-reverse-arm.c
insn-reverse-x86.c
insn-reverse.c
insn-reverse.exp gdb: Fix DUPLICATE and PATH regressions throughout 2022-05-25 13:44:12 +01:00
machinestate-precsave.exp gdb: Fix DUPLICATE and PATH regressions throughout 2022-05-25 13:44:12 +01:00
machinestate.c
machinestate.exp gdb: Fix DUPLICATE and PATH regressions throughout 2022-05-25 13:44:12 +01:00
ms1.c
next-reverse-bkpt-over-sr.exp
pipe-reverse.c
pipe-reverse.exp
ppc_record_test_isa_2_06.c
ppc_record_test_isa_2_06.exp
ppc_record_test_isa_3_1.c
ppc_record_test_isa_3_1.exp
readv-reverse.c
readv-reverse.exp
recvmsg-reverse.c
recvmsg-reverse.exp
rerun-prec.c
rerun-prec.exp
s390-mvcle.c
s390-mvcle.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-indirect-call-thunk.c
step-indirect-call-thunk.exp
step-precsave.exp
step-reverse.c
step-reverse.exp
test_ioctl_TCSETSW.c Fix comparison of unsigned long int to int in record_linux_system_call. 2022-06-10 16:19:01 +00:00
test_ioctl_TCSETSW.exp [gdb/testsuite] Fix gdb.reverse/test_ioctl_TCSETSW.exp with libc debuginfo 2022-06-14 00:26:46 +02:00
time-reverse.c
time-reverse.exp
until-precsave.exp
until-reverse.c
until-reverse.exp
ur1.c
waitpid-reverse.c
waitpid-reverse.exp
watch-precsave.exp
watch-reverse.c
watch-reverse.exp