summaryrefslogtreecommitdiff
path: root/package/gdb/patches/patch-gdb_common_gdb_thread_db_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-17 09:06:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-17 09:06:58 +0100
commitcc23481c506bb688b9a28535fb6dd40c3ad646cf (patch)
treedc3740f4b73930ff3dcab63c2fa950e274a8fd21 /package/gdb/patches/patch-gdb_common_gdb_thread_db_h
parent6fccc935878c544f9b94ab234eb2dbe87c3c49df (diff)
update gdb
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