GDBserver
gdb_thread_db.h
Go to the documentation of this file.
1 #ifdef HAVE_THREAD_DB_H
2 #include <thread_db.h>
3 #else
4 #include "glibc_thread_db.h"
5 #endif
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