37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
--- gdb-7.4.org/gdb/common/gdb_thread_db.h
|
|
+++ gdb-7.4/gdb/common/gdb_thread_db.h
|
|
@@ -1,17 +1,5 @@
|
|
#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-2000, 2007-2012 Free Software Foundation, Inc.
|
|
@@ -453,3 +441,15 @@
|
|
#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
|
|
+
|