diff options
author | Tom de Vries <tdevries@suse.de> | 2022-07-26 15:02:18 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-07-26 15:02:18 +0200 |
commit | 206977b2edecbe086beb23a32c9c114e2d5af28d (patch) | |
tree | ca501cacb2b971ebe7002b29b6a5914c184c1704 /gdb/python/py-breakpoint.c | |
parent | c138af95731c630a78329fd86076992f82099957 (diff) | |
download | binutils-206977b2edecbe086beb23a32c9c114e2d5af28d.zip binutils-206977b2edecbe086beb23a32c9c114e2d5af28d.tar.gz binutils-206977b2edecbe086beb23a32c9c114e2d5af28d.tar.bz2 |
[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.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
0 files changed, 0 insertions, 0 deletions