summaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 221404ee3ae..496dba02967 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -74,7 +74,7 @@ msymbol_is_function (struct objfile *objfile, minimal_symbol *minsym,
{
struct gdbarch *gdbarch = get_objfile_arch (objfile);
CORE_ADDR pc = gdbarch_convert_from_func_ptr_addr (gdbarch, msym_addr,
- &current_target);
+ target_stack);
if (pc != msym_addr)
{
if (func_address_p != NULL)