From aad95b57c5c4f5f11bd45e848a3ff3bafff1bfc5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 22 Dec 2008 23:11:56 +0000 Subject: * stack.c (print_block_frame_locals): Print spaces, not tabs. Update for call to print_variable_and_value. (print_frame_arg_vars): Update. * value.h (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. * printcmd.c (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. Use common_val_print. * f-valprint.c (info_common_command): Update. --- gdb/value.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index a882004..2961919 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -557,9 +557,11 @@ extern int val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream, const struct value_print_options *options); -extern void print_variable_value (struct symbol *var, - struct frame_info *frame, - struct ui_file *stream); +extern void print_variable_and_value (const char *name, + struct symbol *var, + struct frame_info *frame, + struct ui_file *stream, + int indent); extern int check_field (struct type *, const char *); -- cgit v1.1