aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-send-packet.py
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2022-07-13 15:30:43 +0000
committerCarl Love <cel@us.ibm.com>2022-07-13 15:30:43 +0000
commit2b8b0dca3b6b9ad40e0c11754bf2f972bd8de890 (patch)
tree465274b99c00f6de03df6b96d5e413dd85924864 /gdb/testsuite/gdb.python/py-send-packet.py
parent485caa08c024a1bc7e096819080c1e8214d5b960 (diff)
downloadbinutils-2b8b0dca3b6b9ad40e0c11754bf2f972bd8de890.zip
binutils-2b8b0dca3b6b9ad40e0c11754bf2f972bd8de890.tar.gz
binutils-2b8b0dca3b6b9ad40e0c11754bf2f972bd8de890.tar.bz2
Fix for gdb.base/stap-probe.c
On PowePC, the test fails on a compile error: /../binutils-gdb-current/gdb/testsuite/gdb.base/stap-probe.c:107:1: error: expected '=', ',', ';', 'asm' or 'attribute' before 'use_xmm_reg' 107 | use_xmm_reg (int val) | ^~~~~~~~~~~ Where the source code for stap-probe.c is: static const char * __attribute__((noinline)) ATTRIBUTE_NOCLONE use_xmm_reg (int val) <-- line 107 { ... The issue is the ATTRIBUTE_NOCLONE is not defined as an attribute as expected. The #define for ATTRIBUTE_NOCLONE can be found in ../lib/attributes.h. This patch adds the missing include statement for the definition of ATTRIBUTE_NOCLONE. The patch has been tested and verified on a Power10 system.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-send-packet.py')
0 files changed, 0 insertions, 0 deletions