+2019-07-17 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_get_register): Return void.
+
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (tui_gen_win_info::make_visible):
struct frame_info *frame,
int refresh_values_only);
-static enum tui_status tui_get_register (struct frame_info *frame,
- struct tui_data_item_window *data,
- int regnum, bool *changedp);
+static void tui_get_register (struct frame_info *frame,
+ struct tui_data_item_window *data,
+ int regnum, bool *changedp);
/* Get the register value from the given frame and format it for the
display. When changep is set, check if the new register value has
changed with respect to the previous call. */
-static enum tui_status
+static void
tui_get_register (struct frame_info *frame,
struct tui_data_item_window *data,
int regnum, bool *changedp)
{
- enum tui_status ret = TUI_FAILURE;
-
if (changedp)
*changedp = false;
if (target_has_registers)
*changedp = true;
xfree (prev_content);
-
- ret = TUI_SUCCESS;
}
- return ret;
}