summaryrefslogtreecommitdiff
path: root/package/gdb/patches/patch-gdb_common_gdb_thread_db_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb/patches/patch-gdb_common_gdb_thread_db_h')
-rw-r--r--package/gdb/patches/patch-gdb_common_gdb_thread_db_h37
1 files changed, 0 insertions, 37 deletions
diff --git a/package/gdb/patches/patch-gdb_common_gdb_thread_db_h b/package/gdb/patches/patch-gdb_common_gdb_thread_db_h
deleted file mode 100644
index ddcea422f..000000000
--- a/package/gdb/patches/patch-gdb_common_gdb_thread_db_h
+++ /dev/null
@@ -1,37 +0,0 @@
-* 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