diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-11 18:19:28 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-16 11:28:34 -0600 |
commit | 20149b6b207ac8c2bcde6f272607109f566168a9 (patch) | |
tree | 75c6bfb31f83b0837102ca8613e9559d4e3cdae1 /mkdep | |
parent | 2d83e710a14c62cb6a9501c84fc46062f817428d (diff) | |
download | gdb-20149b6b207ac8c2bcde6f272607109f566168a9.zip gdb-20149b6b207ac8c2bcde6f272607109f566168a9.tar.gz gdb-20149b6b207ac8c2bcde6f272607109f566168a9.tar.bz2 |
Remove "noerror" parameter from some TUI functions
A few TUI functions take a "noerror" parameter. This is only checked
in one spot: in tui_set_source_content, if noerror is false, and if an
error occurs, then the function will call print_sys_errmsg.
This seems misguided to me, so this patch removes that code and this
parameter.
gdb/ChangeLog
2019-08-16 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (tui_update_source_window)
(tui_update_source_window_as_is): Remove "noerror" parameter.
* tui/tui-winsource.c (tui_update_source_window)
(tui_update_source_window_as_is): Remove "noerror" parameter.
(tui_update_source_windows_with_addr)
(tui_update_source_windows_with_line)
(tui_source_window_base::rerender)
(tui_source_window_base::refill): Update.
* tui/tui-source.h (tui_set_source_content)
(tui_show_symtab_source): Remove "noerror" parameter.
* tui/tui-source.c (tui_set_source_content): Remove "noerror"
parameter.
(tui_show_symtab_source): Likewise.
(tui_source_window::maybe_update): Update.
* tui/tui-disasm.c (tui_show_disassem)
(tui_show_disassem_and_update_source)
(tui_disasm_window::do_scroll_vertical)
(tui_disasm_window::maybe_update): Update.
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions