From 4791eb66b69431dcb60592264710c51c4e05c0c7 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 13 Jan 2005 23:31:17 +0000 Subject: [PATCH] 2005-01-13 Michael Snyder * cli/cli-interp.c: Tweak comments, per coding standard. --- gdb/ChangeLog | 4 ++++ gdb/cli/cli-interp.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 509545149e3..b73acf61179 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-01-13 Michael Snyder + + * cli/cli-interp.c: Tweak comments, per coding standard. + 2005-01-13 Andrew Cagney * breakpoint.c (gdb_breakpoint_query): Update, use diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 021b79855d6..cb447e3ec58 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -31,9 +31,9 @@ struct ui_out *cli_uiout; -/* These are the ui_out and the interpreter for the console interpreter. */ +/* These are the ui_out and the interpreter for the console interpreter. */ -/* Longjmp-safe wrapper for "execute_command" */ +/* Longjmp-safe wrapper for "execute_command". */ static struct exception safe_execute_command (struct ui_out *uiout, char *command, int from_tty); struct captured_execute_command_args @@ -107,7 +107,7 @@ cli_interpreter_exec (void *data, const char *command_str) a new ui_file for gdb_stdout, use that one instead of the default. It is important that it gets reset everytime, since the user could - set gdb to use a different interpreter. */ + set gdb to use a different interpreter. */ old_stream = cli_out_set_stream (cli_uiout, gdb_stdout); result = safe_execute_command (cli_uiout, str, 1); cli_out_set_stream (cli_uiout, old_stream); @@ -133,7 +133,7 @@ safe_execute_command (struct ui_out *uiout, char *command, int from_tty) } -/* standard gdb initialization hook */ +/* Standard gdb initialization hook. */ extern initialize_file_ftype _initialize_cli_interp; /* -Wmissing-prototypes */ void @@ -148,7 +148,7 @@ _initialize_cli_interp (void) }; struct interp *cli_interp; - /* Create a default uiout builder for the CLI. */ + /* Create a default uiout builder for the CLI. */ cli_uiout = cli_out_new (gdb_stdout); cli_interp = interp_new (INTERP_CONSOLE, NULL, cli_uiout, &procs); -- 2.30.2