Commit | Line | Data |
---|---|---|
574dd9a9 MK |
1 | #ifdef HAVE_THREAD_DB_H |
2 | #include <thread_db.h> | |
3 | #else | |
e1154999 | 4 | #include "glibc_thread_db.h" |
ed9a39eb | 5 | #endif |
e3b50a7f PA |
6 | |
7 | #ifndef LIBTHREAD_DB_SO | |
8 | #define LIBTHREAD_DB_SO "libthread_db.so.1" | |
9 | #endif | |
10 | ||
11 | #ifndef LIBTHREAD_DB_SEARCH_PATH | |
12 | /* $sdir appears before $pdir for some minimal security protection: | |
13 | we trust the system libthread_db.so a bit more than some random | |
14 | libthread_db associated with whatever libpthread the app is using. */ | |
15 | #define LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir" | |
16 | #endif |