summaryrefslogtreecommitdiffstats
path: root/libdwfl/dwfl_frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdwfl/dwfl_frame.c')
-rw-r--r--libdwfl/dwfl_frame.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdwfl/dwfl_frame.c b/libdwfl/dwfl_frame.c
index 5bbf850e..77e0c5cb 100644
--- a/libdwfl/dwfl_frame.c
+++ b/libdwfl/dwfl_frame.c
@@ -30,6 +30,8 @@
30# include <config.h> 30# include <config.h>
31#endif 31#endif
32 32
33#include <system.h>
34
33#include "libdwflP.h" 35#include "libdwflP.h"
34#include <unistd.h> 36#include <unistd.h>
35 37
@@ -172,7 +174,7 @@ dwfl_attach_state (Dwfl *dwfl, Elf *elf, pid_t pid,
172 is called from dwfl_linux_proc_attach with elf == NULL. 174 is called from dwfl_linux_proc_attach with elf == NULL.
173 __libdwfl_module_getebl will call __libdwfl_getelf which 175 __libdwfl_module_getebl will call __libdwfl_getelf which
174 will call the find_elf callback. */ 176 will call the find_elf callback. */
175 if (strncmp (mod->name, "[vdso: ", 7) == 0 177 if (startswith (mod->name, "[vdso: ")
176 || strcmp (strrchr (mod->name, ' ') ?: "", 178 || strcmp (strrchr (mod->name, ' ') ?: "",
177 " (deleted)") == 0) 179 " (deleted)") == 0)
178 continue; 180 continue;