diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-08 00:23:47 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-09 18:00:18 +0100 |
| commit | f9ac3f3e200e4fd0dfe0f45ddc606ce945ea0143 (patch) | |
| tree | 1df34d2b324d1f23a136f58509912ea892311c61 /meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch | |
| parent | d32b383c3a7af0212cf6bfc942f4f8d6ae08d986 (diff) | |
| download | poky-f9ac3f3e200e4fd0dfe0f45ddc606ce945ea0143.tar.gz | |
elfutils: 0.162 -> 0.163
(From OE-Core rev: cb8fc7521cdaaa7b8f82a0c6dfc6526778c99099)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch')
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch b/meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch new file mode 100644 index 0000000000..35b1b389fb --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | Index: elfutils-0.159/libdwfl/linux-pid-attach.c | ||
| 2 | =================================================================== | ||
| 3 | --- elfutils-0.159.orig/libdwfl/linux-pid-attach.c | ||
| 4 | +++ elfutils-0.159/libdwfl/linux-pid-attach.c | ||
| 5 | @@ -393,6 +393,16 @@ pid_getthread (Dwfl *dwfl __attribute__ | ||
| 6 | return false; | ||
| 7 | } | ||
| 8 | |||
| 9 | +bool | ||
| 10 | +internal_function | ||
| 11 | +__libdwfl_ptrace_attach (pid_t tid __attribute__ ((unused)), | ||
| 12 | + bool *tid_was_stoppedp __attribute__ ((unused))) | ||
| 13 | +{ | ||
| 14 | + errno = ENOSYS; | ||
| 15 | + __libdwfl_seterrno (DWFL_E_ERRNO); | ||
| 16 | + return false; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | static bool | ||
| 20 | pid_memory_read (Dwfl *dwfl __attribute__ ((unused)), | ||
| 21 | Dwarf_Addr addr __attribute__ ((unused)), | ||
| 22 | @@ -419,6 +429,13 @@ pid_detach (Dwfl *dwfl __attribute__ ((u | ||
| 23 | { | ||
| 24 | } | ||
| 25 | |||
| 26 | +void | ||
| 27 | +internal_function | ||
| 28 | +__libdwfl_ptrace_detach (pid_t tid __attribute__ ((unused)), | ||
| 29 | + bool tid_was_stopped __attribute__ ((unused))) | ||
| 30 | +{ | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | static void | ||
| 34 | pid_thread_detach (Dwfl_Thread *thread __attribute__ ((unused)), | ||
| 35 | void *thread_arg __attribute__ ((unused))) | ||
