binutils-gdb/gdb/testsuite/gdb.tui
Tom de Vries 5a8f5960fd [gdb/testsuite] Add Term::get_line_with_attrs
Add a new proc Term::get_line_with_attrs, similar to Term::get_line, that
annotates a tuiterm line with the active attributes.

For instance, the line representing the TUI status window with attribute mode
standout looks like this with Term::get_line:
...
exec No process In: ... L??   PC: ??
...
but like this with Term::get_line_with_attrs:
...
<reverse:1>exec No process In: ... L??   PC: ?? <reverse:0>
...

Also add Term::dump_screen_with_attrs, a Term::dump_screen variant that uses
Term::get_line_with_attrs instead of Term::get_line.

Tested by re-running the TUI test-cases (gdb.tui/*.exp and gdb.python/tui*.exp)
on x86_64-linux.
2023-05-22 12:02:43 +02:00
..
basic.exp [gdb/testsuite] Add Term::get_line_with_attrs 2023-05-22 12:02:43 +02:00
break.exp
compact-source.exp [gdb/tui] Don't show line number for lines not in source file 2023-05-16 17:40:32 +02:00
completion.exp [gdb/testsuite] Fix timeout in gdb.tui/completion.exp 2023-04-25 08:33:57 +02:00
corefile-run.exp [gdb/testsuite] Fix timeout in gdb.tui/corefile-run.exp 2023-04-25 08:33:57 +02:00
empty.exp
info-win.exp
list-before.exp
list.exp
main-one-line.c
main.exp [gdb/testsuite] Fix gdb.tui/main.exp without TUI 2023-04-29 07:00:34 +02:00
new-layout.exp
regs.exp
resize-2.exp [gdb/tui] Fix TUI resizing for TERM=ansi 2023-04-30 13:06:23 +02:00
resize.exp
scroll.exp
tui-disasm-long-lines.c
tui-disasm-long-lines.exp
tui-focus.c
tui-focus.exp
tui-layout-asm-short-prog.exp [gdb/testsuite] Add regression test for PR30325 2023-04-14 13:47:19 +02:00
tui-layout-asm-short-prog.S
tui-layout-asm.exp
tui-layout.c
tui-layout.exp [gdb/testsuite] Fix gdb.tui/tui-layout.exp for remote host 2023-03-13 17:20:09 +01:00
tui-missing-src.exp
tui-nl-filtered-output.exp [gdb/testsuite] Fix gdb.tui/tui-nl-filtered-output.exp for remote host 2023-03-13 17:20:09 +01:00
tuiterm.exp
winheight.exp
winwidth.exp
wrap-line.exp gdb/testsuite: extend special '^' handling to gdb_test_multiple 2023-05-12 13:45:52 +01:00