diff options
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r-- | gdb/tui/tui-regs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 6ff0d00..4ba81b6 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -117,7 +117,7 @@ tui_get_register (struct frame_info *frame, { if (changedp) *changedp = false; - if (target_has_registers) + if (target_has_registers ()) { std::string new_content = tui_register_format (frame, regnum); @@ -182,7 +182,7 @@ tui_data_window::show_registers (struct reggroup *group) if (group == 0) group = general_reggroup; - if (target_has_registers && target_has_stack () && target_has_memory ()) + if (target_has_registers () && target_has_stack () && target_has_memory ()) { show_register_group (group, get_selected_frame (NULL), group == m_current_group); |