]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/nat/gdb_thread_db.h
Move shared native target specific code to gdb/nat
[thirdparty/binutils-gdb.git] / gdb / nat / gdb_thread_db.h
... / ...
CommitLineData
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