gdb/nat/gdb_thread_db.h - gdb

Macros defined

Source code

  1. #ifdef HAVE_THREAD_DB_H
  2. #include <thread_db.h>
  3. #else
  4. #include "glibc_thread_db.h"
  5. #endif

  6. #ifndef LIBTHREAD_DB_SO
  7. #define LIBTHREAD_DB_SO "libthread_db.so.1"
  8. #endif

  9. #ifndef LIBTHREAD_DB_SEARCH_PATH
  10. /* $sdir appears before $pdir for some minimal security protection:
  11.    we trust the system libthread_db.so a bit more than some random
  12.    libthread_db associated with whatever libpthread the app is using.  */
  13. #define LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir"
  14. #endif