Simplify tui_update_source_windows_with_addr
authorTom Tromey <tom@tromey.com>
Wed, 13 Nov 2019 00:59:06 +0000 (17:59 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 16:15:53 +0000 (09:15 -0700)
commit88180c082424fd90e8a5967f8c84533f7cc6380f
treec63fb17cf9aca657506418734d4a9ab15746d297
parent9f7540a5deb07875fb8e75de86857a9cae8bd30a
Simplify tui_update_source_windows_with_addr

After the previous changes, tui_update_source_windows_with_addr simply
updates each source-like window separately, passing the same data to
each.  So, it can be simplified by using a loop instead.

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

* tui/tui-winsource.c (tui_update_source_windows_with_addr):
Simplify.

Change-Id: Id2ba6b3145ec005dbed1b1115118bd1ef4efb842
gdb/ChangeLog
gdb/tui/tui-winsource.c
This page took 0.023374 seconds and 4 git commands to generate.