summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-thread-debugging-library.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-09 12:14:52 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-09 12:14:52 +0300
commitea3ddd58a57e2e01ec17ed500f533c523be9ddef (patch)
tree72ee60c10f1833abaca62db0ec02cb1cc9b49ec2 /debian/patches/dyson-thread-debugging-library.patch
parentee8536fb62c8a81ea727b475a6793417d00b40b0 (diff)
downloadgdb-ea3ddd58a57e2e01ec17ed500f533c523be9ddef.tar.gz
Add Dyson patches
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;
+