* 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.
This commit is contained in:
parent
3024f13a83
commit
4178329584
5 changed files with 56 additions and 57 deletions
|
@ -1,3 +1,11 @@
|
|||
2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||
|
||||
* 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.
|
||||
|
||||
2001-07-19 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||
|
||||
* tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
|
||||
|
|
|
@ -435,8 +435,6 @@ tuiDefaultWinViewportHeight (TuiWinType type, TuiLayoutType layout)
|
|||
void
|
||||
_initialize_tuiLayout (void)
|
||||
{
|
||||
if (tui_version)
|
||||
{
|
||||
add_com ("layout", class_tui, _tuiLayout_command,
|
||||
"Change the layout of windows.\n\
|
||||
Usage: layout prev | next | <layout_name> \n\
|
||||
|
@ -458,10 +456,7 @@ Layout names are:\n\
|
|||
"Toggle between Source/Command or Disassembly/Command and \n\
|
||||
Source/Disassembly/Command layouts.\n");
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
} /* _intialize_tuiLayout */
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
/*****************************************
|
||||
|
|
|
@ -422,14 +422,9 @@ tui_vShowFrameInfo (va_list args)
|
|||
void
|
||||
_initialize_tuiStack (void)
|
||||
{
|
||||
if (tui_version)
|
||||
{
|
||||
add_com ("update", class_tui, _tuiUpdateLocation_command,
|
||||
"Update the source window and locator to display the current execution point.\n");
|
||||
}
|
||||
|
||||
return;
|
||||
} /* _initialize_tuiStack */
|
||||
}
|
||||
|
||||
|
||||
/*****************************************
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "symtab.h"
|
||||
#include "breakpoint.h"
|
||||
#include "frame.h"
|
||||
#include "cli/cli-cmds.h"
|
||||
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
|
@ -85,8 +86,13 @@ static void _parseScrollingArgs (char *, TuiWinInfoPtr *, int *);
|
|||
void
|
||||
_initialize_tuiWin (void)
|
||||
{
|
||||
if (tui_version)
|
||||
{
|
||||
/* Define the classes of commands.
|
||||
They will appear in the help list in the reverse of this order. */
|
||||
|
||||
add_cmd ("tui", class_tui, NO_FUNCTION,
|
||||
"Text User Interface commands.",
|
||||
&cmdlist);
|
||||
|
||||
add_com ("refresh", class_tui, _tuiRefreshAll_command,
|
||||
"Refresh the terminal display.\n");
|
||||
if (xdb_commands)
|
||||
|
@ -126,10 +132,7 @@ cmd : the command window\n");
|
|||
add_com ("w", class_xdb, _tuiXDBsetWinHeight_command,
|
||||
"XDB compatibility command for setting the height of a command window.\n\
|
||||
Usage: w <#lines>\n");
|
||||
}
|
||||
|
||||
return;
|
||||
} /* _intialize_tuiWin */
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue