summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-thread-debugging-library.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-thread-debugging-library.patch')
-rw-r--r--debian/patches/dyson-thread-debugging-library.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dyson-thread-debugging-library.patch b/debian/patches/dyson-thread-debugging-library.patch
new file mode 100644
index 0000000..99825a4
--- /dev/null
+++ b/debian/patches/dyson-thread-debugging-library.patch
@@ -0,0 +1,13 @@
+Index: gdb.git/gdb/sol-thread.c
+===================================================================
+--- gdb.git.orig/gdb/sol-thread.c
++++ gdb.git/gdb/sol-thread.c
+@@ -1187,7 +1187,7 @@ _initialize_sol_thread (void)
+ {
+ void *dlhandle;
+
+- dlhandle = dlopen ("libthread_db.so.1", RTLD_NOW);
++ dlhandle = dlopen ("libc_db.so.1", RTLD_NOW);
+ if (!dlhandle)
+ goto die;
+