binutils-gdb/gdb/testsuite/gdb.tui
Tom de Vries 86a6f9a9fb [gdb/tui] Show regs when switching to regs layout
When starting gdb in CLI mode, running to main and switching into the TUI regs
layout:
...
$ gdb -q a.out -ex start -ex "layout regs"
...
we get:
...
+---------------------------------+
|                                 |
| [ Register Values Unavailable ] |
|                                 |
+---------------------------------+
...

Fix this by handling this case in tui_data_window::rerender.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>

PR tui/28600
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28600
2023-12-16 09:31:29 +01:00
..
basic.exp
break.exp
color-prompt.exp
compact-source.exp
completion.exp
corefile-run.exp
empty.exp
info-win.exp
list-before.exp
list.exp
long-prompt.exp
main-one-line.c
main.exp
narrow.exp [gdb/tui] Fix wrapping strings 2023-12-04 08:48:48 +01:00
new-layout.exp
pr30056.exp
regs.exp [gdb/tui] Show regs when switching to regs layout 2023-12-16 09:31:29 +01:00
resize-2.exp
resize-one-line.exp [gdb/tui] Fix displaying main after resizing 2023-12-08 17:36:35 +01:00
resize.exp
scroll.exp
secondary-prompt.exp
single-key-2.exp
single-key.exp [gdb/tui] Show focus window in status line 2023-12-08 23:02:31 +01:00
small-term.exp
tui-disasm-long-lines.c
tui-disasm-long-lines.exp
tui-focus.c
tui-focus.exp
tui-layout-asm-short-prog.exp
tui-layout-asm-short-prog.S [gdb/testsuite] Use more %progbits for arm 2023-11-24 15:41:22 +01:00
tui-layout-asm.exp
tui-layout.c
tui-layout.exp
tui-missing-src.exp
tui-nl-filtered-output.exp
tuiterm-2.exp
tuiterm.exp
winheight.exp
winwidth.exp
wrap-line.exp