aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-evthreads.c
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2024-08-12 22:25:57 +0300
committerDimitar Dimitrov <dimitar@dinux.eu>2024-08-15 18:14:42 +0300
commit5c8f918639f1df77599c50fddfdfe23a2e3cbf35 (patch)
treeb40ed7f0d06dd8f8c6be613cfbdd1b791400acd6 /gdb/testsuite/gdb.python/py-evthreads.c
parenta6f8fe0a9e9cbe871652e46ba7c22d5e9fb86208 (diff)
downloadbinutils-5c8f918639f1df77599c50fddfdfe23a2e3cbf35.zip
binutils-5c8f918639f1df77599c50fddfdfe23a2e3cbf35.tar.gz
binutils-5c8f918639f1df77599c50fddfdfe23a2e3cbf35.tar.bz2
gas: pru: Fix trailing whitespace handling
With commit 6ae8a30d44f016cafb46a75843b5109316eb1996, arguments followed by a C-style comment ended up with a trailing space. That extra space character confused the PRU register name matching, leading to spurious errors about unrecognized registers. This affected existing code like newlib's setjmp.s for pru. Fix by stripping the trailing whitespace for any argument. Even with 6ae8a30d44f016cafb46a75843b5109316eb1996 reverted, this patch is safe to be applied. Successfully regression-tested with GCC and newlib testsuites for pru-unknown-elf. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-evthreads.c')
0 files changed, 0 insertions, 0 deletions