diff options
author | Michael Snyder <msnyder@vmware.com> | 2005-01-13 23:31:17 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2005-01-13 23:31:17 +0000 |
commit | 4791eb66b69431dcb60592264710c51c4e05c0c7 (patch) | |
tree | 8c9d76a69255c1ef7fdde25ce4c6c6374fa126ef /gdb/cli | |
parent | e5f80da454439a14a3e8f916b10497bbb31b40e0 (diff) | |
download | gdb-4791eb66b69431dcb60592264710c51c4e05c0c7.zip gdb-4791eb66b69431dcb60592264710c51c4e05c0c7.tar.gz gdb-4791eb66b69431dcb60592264710c51c4e05c0c7.tar.bz2 |
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli/cli-interp.c: Tweak comments, per coding standard.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-interp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 021b798..cb447e3 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); |