+2014-03-06 Joel Brobecker <brobecker@adacore.com>
+
+ * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
+ (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
+ SYMBOL_VALUE_ADDRESS.
+ (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
+
2014-03-06 Yao Qi <yao@codesourcery.com>
* breakpoint.c (get_tracepoint_by_number): Remove argument
#include "observer.h"
#include <string.h>
#include "procfs.h"
+#include "symtab.h"
+#include "minsyms.h"
+#include "objfiles.h"
struct target_ops sol_thread_ops;
if (!ms.minsym)
return PS_NOSYM;
- *ld_symbol_addr = SYMBOL_VALUE_ADDRESS (ms.minsym);
+ *ld_symbol_addr = BMSYMBOL_VALUE_ADDRESS (ms);
return PS_OK;
}
printf_filtered (" startfunc=%s",
msym.minsym
- ? SYMBOL_PRINT_NAME (msym.minsym)
+ ? MSYMBOL_PRINT_NAME (msym.minsym)
: paddress (target_gdbarch (), ti.ti_startfunc));
}
printf_filtered (" sleepfunc=%s",
msym.minsym
- ? SYMBOL_PRINT_NAME (msym.minsym)
+ ? MSYMBOL_PRINT_NAME (msym.minsym)
: paddress (target_gdbarch (), ti.ti_pc));
}