aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 7cf386d..6ac3c2b 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -570,7 +570,7 @@ tui_reg_next_command (char *arg, int from_tty)
if (group == NULL)
group = reggroup_next (gdbarch, NULL);
- if (group)
+ if (group != NULL)
tui_show_registers (group);
}
}