diff options
author | Tom de Vries <tdevries@suse.de> | 2025-09-24 09:57:25 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-09-24 09:57:25 +0200 |
commit | 4c47471ba4cfd59206ce1cb33ae2f19ced2f29cd (patch) | |
tree | 6fe02932f83fcb9954d39a64bdfa657c527f0a0f /libctf | |
parent | c0d4514f77d4f6e22e04ad54cbf462f11fc5620a (diff) | |
download | binutils-4c47471ba4cfd59206ce1cb33ae2f19ced2f29cd.zip binutils-4c47471ba4cfd59206ce1cb33ae2f19ced2f29cd.tar.gz binutils-4c47471ba4cfd59206ce1cb33ae2f19ced2f29cd.tar.bz2 |
[gdb/testsuite] Fix gdb.tui/tui-layout-asm-short-prog.exp on cygwin
On x86_64-cygwin, I run into:
...
Running tui-layout-asm-short-prog.exp ...
gdb compile failed, tui-layout-asm-short-prog.S: Assembler messages:
tui-layout-asm-short-prog.S:26: Error: \
junk at end of line, first unrecognized character is `-'
=== gdb Summary ===
# of untested testcases 1
...
This is due to this note in gdb.tui/tui-layout-asm-short-prog.S:
...
.section .note.GNU-stack,"",@progbits
...
The note can be easily skipped for cygwin, but after doing so, we run into a
fail.
The problem is that while the test-case tries to generate 5 nops:
...
.rept 5
nop
.endr
...
in fact 16 nops are generated.
The fail is not specific to x86_64-cygwin, if we do ".rept 16" on
x86_64-linux, we get the same fail.
Fix this by increasing the "large" scroll amounts from 13 to 15.
Tested on x86_64-cygwin and x86_64-linux.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions