aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiRegs.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-19 22:47:46 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-19 22:47:46 +0000
commit417832958402db68b1c2e3f345881ae0f8630100 (patch)
tree4ad17d4e6d5449aac85f44e67b98c8e768e8b5dd /gdb/tui/tuiRegs.c
parent3024f13a83deadef212a3d8606d3784033615ea2 (diff)
downloadgdb-417832958402db68b1c2e3f345881ae0f8630100.zip
gdb-417832958402db68b1c2e3f345881ae0f8630100.tar.gz
gdb-417832958402db68b1c2e3f345881ae0f8630100.tar.bz2
* tuiWin.c (_initialize_tuiWin): Always define the tui commands;
create the tui class help. * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands. * tuiRegs.c (_initialize_tuiRegs): Likewise. * tuiStack.c (_initialize_tuiStack): Likewise.
Diffstat (limited to 'gdb/tui/tuiRegs.c')
-rw-r--r--gdb/tui/tuiRegs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/tui/tuiRegs.c b/gdb/tui/tuiRegs.c
index 6dc6eed..177451f 100644
--- a/gdb/tui/tuiRegs.c
+++ b/gdb/tui/tuiRegs.c
@@ -540,7 +540,7 @@ tuiToggleFloatRegs (void)
void
_initialize_tuiRegs (void)
{
- if (tui_version && xdb_commands)
+ if (xdb_commands)
{
add_com ("fr", class_tui, _tuiShowFloat_command,
"Display only floating point registers\n");
@@ -561,9 +561,7 @@ _initialize_tuiRegs (void)
registers.\n",
&togglelist);
}
-
- return;
-} /* _initialize_tuiRegs */
+}
/*****************************************