binutils-gdb/gdb/testsuite/gdb.btrace
Markus Metzger 8233378104 gdb, testsuite: enforce lazy binding for gdb.btrace/rn-dl-bind.exp
In gdb.btrace/rn-dl-bind.exp we test that we can reverse-step over
recorded dynamic linking.  The test covers specific behaviour to support
_dl_runtime_resolve calling the resolved function by returning to it.
This would normally mess up stepping as we'd end up with backtraces that
contain the same functions but different frame ids.

Since GDB needs to recognize a return from _dl_runtime_resolve, the test
only passes when debug information for _dl_runtime_resolve is available.

The test requires that symbols are bound lazily.  Otherwise, we won't
record dynamic linking and the test will be fairly pointless.

Recent GCC pass -z now by default to bind symbols eagerly.  Add -z lazy to
the test's ldflags to enforce lazy binding.
2021-03-03 09:18:58 +01:00
..
buffer-size.exp
cpu.exp
data.c
data.exp
delta.exp
dlopen-dso.c
dlopen.c
dlopen.exp
enable-new-thread.c
enable-new-thread.exp
enable-running.c
enable-running.exp
enable.c
enable.exp
exception.cc testsuite, gdb.btrace: adjust expected output to pass with clang 2021-03-03 09:16:45 +01:00
exception.exp testsuite, gdb.btrace: adjust expected output to pass with clang 2021-03-03 09:16:45 +01:00
function_call_history.c
function_call_history.exp testsuite, gdb.btrace: adjust expected output to pass with clang 2021-03-03 09:16:45 +01:00
gcore.exp
i686-record_goto.S
i686-tailcall-only.S
i686-tailcall.S
instruction_history.c
instruction_history.exp
instruction_history.S
multi-inferior.c
multi-inferior.exp
multi-thread-step.c
multi-thread-step.exp
nohist.exp
non-stop.c
non-stop.exp testsuite, gdb.btrace: adjust expected source line in non-stop.exp 2021-03-03 09:18:18 +01:00
reconnect.c
reconnect.exp
record_goto-step.exp
record_goto.c
record_goto.exp
rn-dl-bind.c
rn-dl-bind.exp gdb, testsuite: enforce lazy binding for gdb.btrace/rn-dl-bind.exp 2021-03-03 09:18:58 +01:00
segv.c
segv.exp
step.exp
stepi.exp testsuite, gdb.btrace: remove implicit debug option in stepi.exp 2021-03-03 09:17:34 +01:00
tailcall-only.c
tailcall-only.exp
tailcall.c
tailcall.exp
tsx.c
tsx.exp
unknown_functions.c
unknown_functions.exp testsuite, gdb.btrace: move -Wl,-x to ldflags 2021-03-03 09:15:39 +01:00
vdso.c
vdso.exp
x86_64-record_goto.S
x86_64-tailcall-only.S
x86_64-tailcall.S
x86-tsx.S