start change to progspace independence
[deliverable/binutils-gdb.git] / gdb / proc-service.c
index 96e4fe0b48eb3a95b0eda1f6251b6965d51ac138..09cfc79198f5dd5811c961ddfc7d667db702d5b3 100644 (file)
@@ -24,6 +24,7 @@
 #include "symtab.h"
 #include "target.h"
 #include "regcache.h"
+#include "objfiles.h"
 
 #include "gdb_proc_service.h"
 
@@ -207,7 +208,7 @@ ps_pglobal_lookup (gdb_ps_prochandle_t ph, const char *obj,
     result = PS_NOSYM;
   else
     {
-      *sym_addr = core_addr_to_ps_addr (MSYMBOL_VALUE_ADDRESS (ms.minsym));
+      *sym_addr = core_addr_to_ps_addr (BMSYMBOL_VALUE_ADDRESS (ms));
       result = PS_OK;
     }
 
This page took 0.02469 seconds and 4 git commands to generate.