doesn't provide PTRACE_GET_THREAD_AREA.
+2010-05-19 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * linux-m68k-low.c (ps_get_thread_area): Don't define if kernel
+ doesn't provide PTRACE_GET_THREAD_AREA.
+
2010-05-19 Maxim Kuvyrkov <maxim@codesourcery.com>
* linux-m68k-low.c: Include <asm/ptrace.h>
#include <asm/ptrace.h>
+#ifdef PTRACE_GET_THREAD_AREA
/* Fetch the thread-local storage pointer for libthread_db. */
ps_err_e
return PS_OK;
}
+#endif /* PTRACE_GET_THREAD_AREA */
struct linux_target_ops the_low_target = {
init_registers_m68k,