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 | 0237107b53035dc0623c92a6fa3866d93d0c9424 (patch) | |
tree | 462535278008d140c1cfa340e01f077cd0e70e14 /gdb/value.c | |
parent | 3f1a92dbd1ceda75696222ec65e7bbeeb7d9b7ed (diff) | |
download | gdb-0237107b53035dc0623c92a6fa3866d93d0c9424.tar.gz |
* 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 21a7e6cf9ae..d11f953ee50 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] = '+'; |