12345678910111213141516171819202122232425262728293031323334353637 |
- * added from https://github.com/rofl0r/sabotage
- --- gdb-7.6.orig/gdb/common/gdb_thread_db.h 2013-01-01 07:32:54.000000000 +0100
- +++ gdb-7.6/gdb/common/gdb_thread_db.h 2013-08-13 16:37:40.000000000 +0200
- @@ -1,17 +1,6 @@
- #ifdef HAVE_THREAD_DB_H
- #include <thread_db.h>
-
- -#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
- -
- #else
-
- /* Copyright (C) 1999-2013 Free Software Foundation, Inc.
- @@ -453,3 +442,14 @@ extern td_err_e td_thr_dbresume (const t
- #endif /* thread_db.h */
-
- #endif /* HAVE_THREAD_DB_H */
- +
- +#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
|