components/gdb/patches/gdb.gdb.sol-thread.c.patch
branchs11-update
changeset 2814 dff3ca0071d6
child 1611 6b7edd68c53f
equal deleted inserted replaced
2813:db0bfa0fa498 2814:dff3ca0071d6
       
     1 --- gdb-7.6/gdb/sol-thread.c	2012-12-31 22:32:50.000000000 -0800
       
     2 +++ gdb-7.6/gdb/sol-thread.c	2013-08-22 12:03:52.780558508 -0700
       
     3 @@ -1224,7 +1224,7 @@
       
     4  
       
     5    init_sol_thread_ops ();
       
     6  
       
     7 -  dlhandle = dlopen ("libthread_db.so.1", RTLD_NOW);
       
     8 +  dlhandle = dlopen ("libthread_db.so.1", RTLD_LAZY|RTLD_GLOBAL);
       
     9    if (!dlhandle)
       
    10      goto die;
       
    11