aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-05-16 07:12:22 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-05-16 07:12:22 +0000
commit943b7032ab331314ea3e2998e0d5781d8a8e4ef1 (patch)
tree549f9d763cd80f332db9acd48a1dd962d64079cc /gdb/top.c
parent75cbae716fea68969910fb0e9e0b6638095831d0 (diff)
downloadgdb-943b7032ab331314ea3e2998e0d5781d8a8e4ef1.zip
gdb-943b7032ab331314ea3e2998e0d5781d8a8e4ef1.tar.gz
gdb-943b7032ab331314ea3e2998e0d5781d8a8e4ef1.tar.bz2
* mdebugread.c (parse_symbol): Do not relocate stBlock/scText
symbols, their value is the displacement from the procedure address. * top.c (init_main): Add missing newlines to help strings for `if' and `while' commands, fix help string for `show commands'.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/top.c b/gdb/top.c
index e632ce3..9b1c3db 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -3502,7 +3502,7 @@ ie. the number of previous commands to keep a record of.", &sethistlist);
add_info ("set", show_command, "Show all GDB settings.");
add_cmd ("commands", no_class, show_commands,
- "Show the the history of commands you typed.\n\
+ "Show the history of commands you typed.\n\
You can supply a command number to start with, or a `+' to start after\n\
the previous command number shown.",
&showlist);
@@ -3512,15 +3512,15 @@ the previous command number shown.",
add_com ("while", class_support, while_command,
"Execute nested commands WHILE the conditional expression is non zero.\n\
-The conditional expression must follow the word `while' and must in turn be\
-followed by a new line. The nested commands must be entered one per line,\
+The conditional expression must follow the word `while' and must in turn be\n\
+followed by a new line. The nested commands must be entered one per line,\n\
and should be terminated by the word `end'.");
add_com ("if", class_support, if_command,
"Execute nested commands once IF the conditional expression is non zero.\n\
-The conditional expression must follow the word `if' and must in turn be\
-followed by a new line. The nested commands must be entered one per line,\
-and should be terminated by the word 'else' or `end'. If an else clause\
+The conditional expression must follow the word `if' and must in turn be\n\
+followed by a new line. The nested commands must be entered one per line,\n\
+and should be terminated by the word 'else' or `end'. If an else clause\n\
is used, the same rules apply to its nested commands as to the first ones.");
/* If target is open when baud changes, it doesn't take effect until the