From f132ba9d37799a53d590a9f4cc0c49f34d550393 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Sat, 3 May 2008 06:13:21 +0000 Subject: * 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". --- gdb/value.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/value.c') 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 " should print around value number . */ + /* "show values +" should print from the stored position. + "show values " should print around value number . */ 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] = '+'; -- cgit v1.1