aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 49919e8..e228beb 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -110,10 +110,11 @@ dump_for_expression (struct ui_file *stream, int depth, symbol *sym)
}
void
-dump_for_expression (struct ui_file *stream, int depth, minimal_symbol *msym)
+dump_for_expression (struct ui_file *stream, int depth,
+ bound_minimal_symbol msym)
{
- fprintf_filtered (stream, _("%*sMinsym: %s\n"), depth, "",
- msym->print_name ());
+ fprintf_filtered (stream, _("%*sMinsym %s in objfile %s\n"), depth, "",
+ msym.minsym->print_name (), objfile_name (msym.objfile));
}
void
@@ -163,13 +164,6 @@ dump_for_expression (struct ui_file *stream, int depth,
}
void
-dump_for_expression (struct ui_file *stream, int depth, objfile *objf)
-{
- fprintf_filtered (stream, _("%*sObjfile: %s\n"), depth, "",
- objfile_name (objf));
-}
-
-void
dump_for_expression (struct ui_file *stream, int depth,
enum range_flag flags)
{