From d4654627e1532d821bb85c904d905a52fcd229ee Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 28 Mar 2002 01:35:56 +0000 Subject: [PATCH] 2002-03-27 Michael Snyder * breakpoint.c (_initialize_breakpoint): Clean up help string. * infcmd.c (_initialize_infcmd): Ditto. * language.c (_initialize_language): Ditto. * symfile.c (_initialize_symfile): Ditto. * top.c (_init_main): Ditto. * cli/cli-cmds.c (init_cli_cmds): Ditto. --- gdb/ChangeLog | 9 +++++++++ gdb/breakpoint.c | 2 +- gdb/cli/cli-cmds.c | 2 +- gdb/infcmd.c | 2 +- gdb/language.c | 4 ++-- gdb/symfile.c | 2 +- gdb/top.c | 4 ++-- 7 files changed, 17 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 40fdcc7..5d247e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2002-03-27 Michael Snyder + + * breakpoint.c (_initialize_breakpoint): Clean up help string. + * infcmd.c (_initialize_infcmd): Ditto. + * language.c (_initialize_language): Ditto. + * symfile.c (_initialize_symfile): Ditto. + * top.c (_init_main): Ditto. + * cli/cli-cmds.c (init_cli_cmds): Ditto. + 2002-03-27 Elena Zannoni * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index f137075..8548e43 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7374,7 +7374,7 @@ then no output is printed when it is hit, except what the commands print."); add_com ("condition", class_breakpoint, condition_command, "Specify breakpoint number N to break only if COND is true.\n\ Usage is `condition N COND', where N is an integer and COND is an\n\ -expression to be evaluated whenever breakpoint N is reached. "); +expression to be evaluated whenever breakpoint N is reached."); c = add_com ("tbreak", class_breakpoint, tbreak_command, "Set a temporary breakpoint. Args like \"break\" command.\n\ diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 8458440..6ba686f 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -802,7 +802,7 @@ from the target.", &setlist), &showdebuglist, "show debug ", 0, &showlist); c = add_com ("shell", class_support, shell_escape, - "Execute the rest of the line as a shell command. \n\ + "Execute the rest of the line as a shell command.\n\ With no arguments, run an inferior shell."); set_cmd_completer (c, filename_completer); diff --git a/gdb/infcmd.c b/gdb/infcmd.c index f14811e..a10a91a 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1886,7 +1886,7 @@ environment to be given to the program.", &showlist); set_cmd_completer (c, noop_completer); add_prefix_cmd ("unset", no_class, unset_command, - "Complement to certain \"set\" commands", + "Complement to certain \"set\" commands.", &unsetlist, "unset ", 0, &cmdlist); c = add_cmd ("environment", class_run, unset_environment_command, diff --git a/gdb/language.c b/gdb/language.c index 4c4036b..0b37a6f 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1559,13 +1559,13 @@ _initialize_language (void) set_cmd_cfunc (show, show_language_command); add_prefix_cmd ("check", no_class, set_check, - "Set the status of the type/range checker", + "Set the status of the type/range checker.", &setchecklist, "set check ", 0, &setlist); add_alias_cmd ("c", "check", no_class, 1, &setlist); add_alias_cmd ("ch", "check", no_class, 1, &setlist); add_prefix_cmd ("check", no_class, show_check, - "Show the status of the type/range checker", + "Show the status of the type/range checker.", &showchecklist, "show check ", 0, &showlist); add_alias_cmd ("c", "check", no_class, 1, &showlist); add_alias_cmd ("ch", "check", no_class, 1, &showlist); diff --git a/gdb/symfile.c b/gdb/symfile.c index 985d80b..cd9133b 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -3233,7 +3233,7 @@ Load the symbols from FILE, assuming FILE has been dynamically loaded.\n\ ADDR is the starting address of the file's text.\n\ The optional arguments are section-name section-address pairs and\n\ should be specified if the data and bss segments are not contiguous\n\ -with the text. SECT is a section name to be loaded at SECT_ADDR.", +with the text. SECT is a section name to be loaded at SECT_ADDR.", &cmdlist); set_cmd_completer (c, filename_completer); diff --git a/gdb/top.c b/gdb/top.c index 7acbb93..200d699 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1990,7 +1990,7 @@ Without an argument, saving is enabled.", &sethistlist), &showhistlist); c = add_set_cmd ("size", no_class, var_integer, (char *) &history_size, - "Set the size of the command history, \n\ + "Set the size of the command history,\n\ ie. the number of previous commands to keep a record of.", &sethistlist); add_show_from_set (c, &showhistlist); set_cmd_sfunc (c, set_history_size_command); @@ -1998,7 +1998,7 @@ ie. the number of previous commands to keep a record of.", &sethistlist); c = add_set_cmd ("filename", no_class, var_filename, (char *) &history_filename, "Set the filename in which to record the command history\n\ - (the list of previous commands of which a record is kept).", &sethistlist); +(the list of previous commands of which a record is kept).", &sethistlist); set_cmd_completer (c, filename_completer); add_show_from_set (c, &showhistlist); -- 2.7.4