diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-15 15:49:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-15 15:49:28 +0000 |
commit | 1bedd215175652ad3e82d2fb731f1d62dd44acf8 (patch) | |
tree | 09ea0800a74e846c01f195cc7de13c5df107c697 /gdb/tui/tui-win.c | |
parent | 724f452bdd25d4fd3eb3e361043276dcbde6d85c (diff) | |
download | gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.zip gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.tar.gz gdb-1bedd215175652ad3e82d2fb731f1d62dd44acf8.tar.bz2 |
2005-02-15 Andrew Cagney <cagney@gnu.org>
Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/tui/tui-win.c')
-rw-r--r-- | gdb/tui/tui-win.c | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index fba3700..b171893 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -305,7 +305,7 @@ tui_get_cmd_list (void) { if (tuilist == 0) add_prefix_cmd ("tui", class_tui, tui_command, - "Text User Interface commands.", + _("Text User Interface commands."), &tuilist, "tui ", 0, &cmdlist); return &tuilist; } @@ -321,53 +321,57 @@ _initialize_tui_win (void) /* Define the classes of commands. They will appear in the help list in the reverse of this order. */ add_prefix_cmd ("tui", class_tui, set_tui_cmd, - "TUI configuration variables", + _("TUI configuration variables"), &tui_setlist, "set tui ", 0/*allow-unknown*/, &setlist); add_prefix_cmd ("tui", class_tui, show_tui_cmd, - "TUI configuration variables", + _("TUI configuration variables"), &tui_showlist, "show tui ", 0/*allow-unknown*/, &showlist); add_com ("refresh", class_tui, tui_refresh_all_command, - "Refresh the terminal display.\n"); + _("Refresh the terminal display.\n")); if (xdb_commands) add_com_alias ("U", "refresh", class_tui, 0); - add_com ("tabset", class_tui, tui_set_tab_width_command, - "Set the width (in characters) of tab stops.\n\ -Usage: tabset <n>\n"); - add_com ("winheight", class_tui, tui_set_win_height_command, - "Set the height of a specified window.\n\ + add_com ("tabset", class_tui, tui_set_tab_width_command, _("\ +Set the width (in characters) of tab stops.\n\ +Usage: tabset <n>\n")); + add_com ("winheight", class_tui, tui_set_win_height_command, _("\ +Set the height of a specified window.\n\ Usage: winheight <win_name> [+ | -] <#lines>\n\ Window names are:\n\ src : the source window\n\ cmd : the command window\n\ asm : the disassembly window\n\ -regs : the register display\n"); +regs : the register display\n")); add_com_alias ("wh", "winheight", class_tui, 0); add_info ("win", tui_all_windows_info, - "List of all displayed windows.\n"); - add_com ("focus", class_tui, tui_set_focus_command, - "Set focus to named window or next/prev window.\n\ + _("List of all displayed windows.\n")); + add_com ("focus", class_tui, tui_set_focus_command, _("\ +Set focus to named window or next/prev window.\n\ Usage: focus {<win> | next | prev}\n\ Valid Window names are:\n\ src : the source window\n\ asm : the disassembly window\n\ regs : the register display\n\ -cmd : the command window\n"); +cmd : the command window\n")); add_com_alias ("fs", "focus", class_tui, 0); - add_com ("+", class_tui, tui_scroll_forward_command, - "Scroll window forward.\nUsage: + [win] [n]\n"); - add_com ("-", class_tui, tui_scroll_backward_command, - "Scroll window backward.\nUsage: - [win] [n]\n"); - add_com ("<", class_tui, tui_scroll_left_command, - "Scroll window forward.\nUsage: < [win] [n]\n"); - add_com (">", class_tui, tui_scroll_right_command, - "Scroll window backward.\nUsage: > [win] [n]\n"); + add_com ("+", class_tui, tui_scroll_forward_command, _("\ +Scroll window forward.\n\ +Usage: + [win] [n]\n")); + add_com ("-", class_tui, tui_scroll_backward_command, _("\ +Scroll window backward.\n\ +Usage: - [win] [n]\n")); + add_com ("<", class_tui, tui_scroll_left_command, _("\ +Scroll window forward.\n\ +Usage: < [win] [n]\n")); + add_com (">", class_tui, tui_scroll_right_command, _("\ +Scroll window backward.\n\ +Usage: > [win] [n]\n")); if (xdb_commands) - add_com ("w", class_xdb, tui_xdb_set_win_height_command, - "XDB compatibility command for setting the height of a command window.\n\ -Usage: w <#lines>\n"); + add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\ +XDB compatibility command for setting the height of a command window.\n\ +Usage: w <#lines>\n")); /* Define the tui control variables. */ c = add_set_enum_cmd |