Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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))) |