aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-valprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-12-22 23:11:56 +0000
committerTom Tromey <tromey@redhat.com>2008-12-22 23:11:56 +0000
commitaad95b57c5c4f5f11bd45e848a3ff3bafff1bfc5 (patch)
tree0c907e97881028948a90872f193ed997e014853b /gdb/f-valprint.c
parent1446eb676faa451b31f37766f758d2c7df1ac26e (diff)
downloadgdb-aad95b57c5c4f5f11bd45e848a3ff3bafff1bfc5.zip
gdb-aad95b57c5c4f5f11bd45e848a3ff3bafff1bfc5.tar.gz
gdb-aad95b57c5c4f5f11bd45e848a3ff3bafff1bfc5.tar.bz2
* 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.
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r--gdb/f-valprint.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index f893b49..a2d2a20 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -566,9 +566,7 @@ info_common_command (char *comname, int from_tty)
while (entry != NULL)
{
- printf_filtered ("%s = ", SYMBOL_PRINT_NAME (entry->symbol));
- print_variable_value (entry->symbol, fi, gdb_stdout);
- printf_filtered ("\n");
+ print_variable_and_value (NULL, entry->symbol, fi, gdb_stdout, 0);
entry = entry->next;
}
}