aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 2f2366b..a5a2e69 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -2580,7 +2580,8 @@ info_scope_command (const char *args_in, int from_tty)
case LOC_UNRESOLVED:
{
bound_minimal_symbol msym
- = lookup_minimal_symbol (sym->linkage_name ());
+ = lookup_minimal_symbol (current_program_space,
+ sym->linkage_name ());
if (msym.minsym == NULL)
gdb_printf ("Unresolved Static");
else