diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-05-03 06:13:21 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2008-05-03 06:13:21 +0000 |
commit | f132ba9d37799a53d590a9f4cc0c49f34d550393 (patch) | |
tree | 6317c367be8263fdc301c68682a6537aab08c47d /gdb/value.c | |
parent | 5c44b38ef660ed5eb5e28fe2c522d15494b42def (diff) | |
download | gdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.zip gdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.tar.gz gdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.tar.bz2 |
* breakpoint.c (create_exception_catchpoint): Remove prototype
for already deleted function.
* breakpoint.h (ep_is_exception_catchpoint): Likewise.
* frame.h (show_stack_frame): Remove prototype.
* stack.c (show_stack_frame): Remove empty, unused function.
* source.c (symtab_to_fullname, print_source_lines): Small fix
in comment.
* value.c (show_values): Update comments to mention "show values"
command instead of "info history".
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/value.c b/gdb/value.c index 21a7e6c..d11f953 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -665,14 +665,14 @@ show_values (char *num_exp, int from_tty) if (num_exp) { - /* "info history +" should print from the stored position. - "info history <exp>" should print around value number <exp>. */ + /* "show values +" should print from the stored position. + "show values <exp>" should print around value number <exp>. */ if (num_exp[0] != '+' || num_exp[1] != '\0') num = parse_and_eval_long (num_exp) - 5; } else { - /* "info history" means print the last 10 values. */ + /* "show values" means print the last 10 values. */ num = value_history_count - 9; } @@ -687,12 +687,12 @@ show_values (char *num_exp, int from_tty) printf_filtered (("\n")); } - /* The next "info history +" should start after what we just printed. */ + /* The next "show values +" should start after what we just printed. */ num += 10; /* Hitting just return after this command should do the same thing as - "info history +". If num_exp is null, this is unnecessary, since - "info history +" is not useful after "info history". */ + "show values +". If num_exp is null, this is unnecessary, since + "show values +" is not useful after "show values". */ if (from_tty && num_exp) { num_exp[0] = '+'; |