6418N/A# Patch required for Solaris.
6418N/A# Will contribute upstream if possible.
2246N/A
6418N/A--- gdb-7.11-orig/gdb/sol-thread.c Tue Feb 9 19:19:39 2016
6418N/A+++ gdb-7.11/gdb/sol-thread.c Thu Mar 10 16:43:30 2016
6418N/A@@ -1244,7 +1244,7 @@
2074N/A
2074N/A init_sol_thread_ops ();
2074N/A
2074N/A- dlhandle = dlopen ("libthread_db.so.1", RTLD_NOW);
2074N/A+ dlhandle = dlopen ("libthread_db.so.1", RTLD_LAZY|RTLD_GLOBAL);
2074N/A if (!dlhandle)
2074N/A goto die;
2074N/A