Files
poky/meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch
Hongxu Jia 0421c67c02 elfutils: upgrade to 1.161
Drop PREFERRED_VERSION_elfutils in meta/conf/distro/include/
tcmode-default.inc, it builds the latest version by default.

(From OE-Core rev: 7ff30c54439a761d66fd4ceca80073e3653373bf)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-23 11:36:30 +00:00

36 lines
992 B
Diff

Index: elfutils-0.159/libdwfl/linux-pid-attach.c
===================================================================
--- elfutils-0.159.orig/libdwfl/linux-pid-attach.c
+++ elfutils-0.159/libdwfl/linux-pid-attach.c
@@ -393,6 +393,16 @@ pid_getthread (Dwfl *dwfl __attribute__
return false;
}
+bool
+internal_function
+__libdwfl_ptrace_attach (pid_t tid __attribute__ ((unused)),
+ bool *tid_was_stoppedp __attribute__ ((unused)))
+{
+ errno = ENOSYS;
+ __libdwfl_seterrno (DWFL_E_ERRNO);
+ return false;
+}
+
static bool
pid_memory_read (Dwfl *dwfl __attribute__ ((unused)),
Dwarf_Addr addr __attribute__ ((unused)),
@@ -419,6 +429,13 @@ pid_detach (Dwfl *dwfl __attribute__ ((u
{
}
+void
+internal_function
+__libdwfl_ptrace_detach (pid_t tid __attribute__ ((unused)),
+ bool tid_was_stopped __attribute__ ((unused)))
+{
+}
+
static void
pid_thread_detach (Dwfl_Thread *thread __attribute__ ((unused)),
void *thread_arg __attribute__ ((unused)))