2000-09-03 12:06:58 +00:00
|
|
|
#ifdef HAVE_THREAD_DB_H
|
|
|
|
#include <thread_db.h>
|
|
|
|
#else
|
2013-04-16 18:14:55 +00:00
|
|
|
#include "glibc_thread_db.h"
|
1999-12-22 21:45:38 +00:00
|
|
|
#endif
|
2013-04-16 18:12:14 +00:00
|
|
|
|
|
|
|
#ifndef LIBTHREAD_DB_SO
|
|
|
|
#define LIBTHREAD_DB_SO "libthread_db.so.1"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LIBTHREAD_DB_SEARCH_PATH
|
|
|
|
/* $sdir appears before $pdir for some minimal security protection:
|
|
|
|
we trust the system libthread_db.so a bit more than some random
|
|
|
|
libthread_db associated with whatever libpthread the app is using. */
|
|
|
|
#define LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir"
|
|
|
|
#endif
|