Add type to expression dump of symbol
[binutils-gdb.git] / gdb / expprint.c
index 49d840be9c617483f2f9c56bab6353f28f22bcfc..b70645fac928b5929a15325d9568157f86b095d4 100644 (file)
@@ -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