* blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
[deliverable/binutils-gdb.git] / gdb / libunwind-frame.c
index 94449b0c698d0dc5678f6f4a82833a3919665b3d..893fe1ee0277deda2c1c8365f8382137bc1278fa 100644 (file)
@@ -508,7 +508,11 @@ libunwind_load (void)
 
   handle = dlopen (LIBUNWIND_SO, RTLD_NOW);
   if (handle == NULL)
-    return 0;
+    {
+      fprintf_unfiltered (gdb_stderr, _("[GDB failed to load %s: %s]\n"),
+                          LIBUNWIND_SO, dlerror ());
+      return 0;
+    }
 
   /* Initialize pointers to the dynamic library functions we will use.  */
 
This page took 0.023136 seconds and 4 git commands to generate.