projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add type to expression dump of symbol
[binutils-gdb.git]
/
gdb
/
expprint.c
diff --git
a/gdb/expprint.c
b/gdb/expprint.c
index 49d840be9c617483f2f9c56bab6353f28f22bcfc..b70645fac928b5929a15325d9568157f86b095d4 100644
(file)
--- a/
gdb/expprint.c
+++ b/
gdb/expprint.c
@@
-114,6
+114,7
@@
dump_for_expression (struct ui_file *stream, int depth, symbol *sym)
{
gdb_printf (stream, _("%*sSymbol: %s\n"), depth, "",
sym->print_name ());
+ dump_for_expression (stream, depth + 1, sym->type ());
}
void