| commit | a3b86780b6cc9d5915a781bef0d901dcc5d9c07f | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Fri May 26 12:30:24 2023 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Fri May 26 12:30:24 2023 +0200 |
| tree | cb1c590ad52c5628047b636ea1879d10c0f65389 | |
| parent | 52141e2def780c8ff6f4233971f9007e5d712a5d [diff] |
[gdb/testsuite] Add test-case gdb.tui/color-prompt.exp Add a test-case that sets a prompt with color in TUI. The line containing the prompt is shown by get_line_with_attrs as follows: ... <fg:31>(gdb) <fg:default> ... The 31 means red, but only for foreground colors, for background colors 41 means red. Make this more readable by using color names for both foreground and background, such that we have instead: .... <fg:red>(gdb) <fg:default> ... Tested on x86_64-linux.