Don't call set_current_source_symtab_and_line from TUI
authorTom Tromey <tom@tromey.com>
Wed, 13 Nov 2019 22:54:47 +0000 (15:54 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 16:15:56 +0000 (09:15 -0700)
commit54217b84bdca3457c16ca7ee9e770f301fc052f9
tree8be8d30bba06b9b721b185eb61d9c1eb195e0acd
parent0ab92974ab9041d80dbd12303d5e8115436fd61e
Don't call set_current_source_symtab_and_line from TUI

update_source_window_as_is calls set_current_source_symtab_and_line,
but I don't think there is any reason it should be doing this.  This
patch removes the call.

gdb/ChangeLog
2019-12-20  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c
(tui_source_window_base::update_source_window_as_is): Don't call
set_current_source_symtab_and_line.

Change-Id: I1152fc7c78150974bd3d555b8568a6f88b65dbe6
gdb/ChangeLog
gdb/tui/tui-winsource.c