binutils-gdb/gdb/testsuite/gdb.opt
Tom de Vries 206977b2ed [gdb/testsuite] Fix gdb.opt/inline-small-func.exp with clang
When running test-case gdb.opt/inline-small-func.exp with clang 12.0.1, I run
into:
...
gdb compile failed, /usr/bin/ld: inline-small-func0.o: in function `main':
inline-small-func.c:21: undefined reference to `callee'
clang-12.0: error: linker command failed with exit code 1 \
  (use -v to see invocation)
UNTESTED: gdb.opt/inline-small-func.exp: failed to prepare
...

Fix this by using __attribute__((always_inline)).

Tested on x86_64-linux.
2022-07-26 15:02:18 +02:00
..
break-on-_exit.c
break-on-_exit.exp
clobbered-registers-O2-2.c [gdb/testsuite] Fix gdb.opt/clobbered-registers-O2.exp with clang 2022-05-24 22:41:45 +02:00
clobbered-registers-O2-3.c [gdb/testsuite] Fix gdb.opt/clobbered-registers-O2.exp with clang 2022-05-24 22:41:45 +02:00
clobbered-registers-O2.c [gdb/testsuite] Fix gdb.opt/clobbered-registers-O2.exp with clang 2022-05-24 22:41:45 +02:00
clobbered-registers-O2.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
fortran-string.exp
fortran-string.f90
inline-break.c
inline-break.exp
inline-bt.c
inline-bt.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
inline-cmds.c
inline-cmds.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
inline-locals.c
inline-locals.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00
inline-markers.c
inline-small-func.c
inline-small-func.exp
inline-small-func.h [gdb/testsuite] Fix gdb.opt/inline-small-func.exp with clang 2022-07-26 15:02:18 +02:00
solib-intra-step-lib.c
solib-intra-step-main.c
solib-intra-step.exp gdb/testsuite: remove unneeded calls to get_compiler_info 2022-06-24 15:07:29 +01:00