binutils-gdb/gdb/testsuite/gdb.tui
Tom Tromey 4f13c1c00b Make "file" clear TUI source window
I noticed that a plain "file" will leave the current source file in
the TUI source window.  Instead, I think, it should clear the source
window.  This patch implements this.

gdb/ChangeLog
2020-01-19  Tom Tromey  <tom@tromey.com>

	* tui/tui-winsource.c (tui_update_source_windows_with_line):
	Handle case where symtab is null.

gdb/testsuite/ChangeLog
2020-01-19  Tom Tromey  <tom@tromey.com>

	* gdb.tui/main.exp: Add check for plain "file".

Change-Id: I8424acf837f1a47f75bc6a833d1e917d4c10b51e
2020-01-19 13:08:48 -07:00
..
basic.exp gdb/tui: Link source and assembler scrolling .... again 2020-01-09 23:11:47 +00:00
completion.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
corefile-run.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
empty.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
list-before.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
list.exp gdb: use tui_set_layout not show_layout to fix window focus 2020-01-05 21:49:05 +00:00
main.exp Make "file" clear TUI source window 2020-01-19 13:08:48 -07:00
regs.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
resize.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tui-disasm-long-lines.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tui-disasm-long-lines.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tui-layout-asm.exp gdb/tui: Fix 'layout asm' before the inferior has started 2020-01-09 23:11:45 +00:00
tui-layout.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tui-layout.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
tui-nl-filtered-output.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
winheight.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00