aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-interp.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-14 21:20:09 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-14 21:20:09 +0000
commit1cc6d956c14542a182c11d5a5ee91d5a00a9af4a (patch)
tree5fd77f93eacf590243fcd88181f6df0508ca5540 /gdb/tui/tui-interp.c
parent5b6fe301a1769b1a5a062d8fbf17c89556c478e8 (diff)
downloadgdb-1cc6d956c14542a182c11d5a5ee91d5a00a9af4a.zip
gdb-1cc6d956c14542a182c11d5a5ee91d5a00a9af4a.tar.gz
gdb-1cc6d956c14542a182c11d5a5ee91d5a00a9af4a.tar.bz2
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, tui.c, tui.h: Comment reformatting to coding standard (capitals, spaces after periods, etc).
Diffstat (limited to 'gdb/tui/tui-interp.c')
-rw-r--r--gdb/tui/tui-interp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c
index 292c7db..30fd11f 100644
--- a/gdb/tui/tui-interp.c
+++ b/gdb/tui/tui-interp.c
@@ -33,7 +33,8 @@
#include "tui/tui-io.h"
#include "exceptions.h"
-/* Set to 1 when the TUI mode must be activated when we first start gdb. */
+/* Set to 1 when the TUI mode must be activated when we first start
+ gdb. */
static int tui_start_enabled = 0;
/* Cleanup the tui before exiting. */
@@ -41,8 +42,8 @@ static int tui_start_enabled = 0;
static void
tui_exit (void)
{
- /* Disable the tui. Curses mode is left leaving the screen
- in a clean state (see endwin()). */
+ /* Disable the tui. Curses mode is left leaving the screen in a
+ clean state (see endwin()). */
tui_disable ();
}
@@ -67,8 +68,9 @@ tui_resume (void *data)
{
struct ui_file *stream;
- /* gdb_setup_readline will change gdb_stdout. If the TUI was previously
- writing to gdb_stdout, then set it to the new gdb_stdout afterwards. */
+ /* gdb_setup_readline will change gdb_stdout. If the TUI was
+ previously writing to gdb_stdout, then set it to the new
+ gdb_stdout afterwards. */
stream = cli_out_set_stream (tui_old_uiout, gdb_stdout);
if (stream != gdb_stdout)
@@ -198,7 +200,7 @@ _initialize_tui_interp (void)
};
struct interp *tui_interp;
- /* Create a default uiout builder for the TUI. */
+ /* Create a default uiout builder for the TUI. */
tui_out = tui_out_new (gdb_stdout);
interp_add (interp_new (INTERP_TUI, NULL, tui_out, &procs));
if (interpreter_p && strcmp (interpreter_p, INTERP_TUI) == 0)