Use "bool" in more spots in TUI
authorTom Tromey <tom@tromey.com>
Mon, 30 Dec 2019 16:07:33 +0000 (09:07 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 30 Dec 2019 16:07:33 +0000 (09:07 -0700)
commit87d557ae1b944a21c86e3148daadeb4469b8cda9
tree7826816491a02cdcd44992e18a0c279d9355d8c9
parenta7ac9aa525de25d3bc6e7bfd37615092a4f94055
Use "bool" in more spots in TUI

This changes a few spots in the TUI to use "bool" rather than "int".
Tested on x86-64 Fedora 28.

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

* tui/tui-interp.c (tui_start_enabled): Now bool.
(_initialize_tui_interp): Update.
* tui/tui-hooks.c (tui_refreshing_registers): Now bool.
(tui_register_changed)
(tui_refresh_frame_and_register_information): Update.
* tui/tui-win.c (tui_update_variables): Return bool.
* tui/tui-win.h (tui_update_variables): Return bool.
* tui/tui.c (tui_get_command_dimension): Return bool.
* tui/tui.h (tui_get_command_dimension): Return bool.

Change-Id: I55b7f2d62d2ef88da3587dc914ada9f463ad8d2b
gdb/ChangeLog
gdb/tui/tui-hooks.c
gdb/tui/tui-interp.c
gdb/tui/tui-win.c
gdb/tui/tui-win.h
gdb/tui/tui.c
gdb/tui/tui.h
This page took 0.02471 seconds and 4 git commands to generate.