* libunwind-frame.c (libunwind_load): Display message if dlopen
failed.
+2012-02-01 Tristan Gingold <gingold@adacore.com>
+
+ * libunwind-frame.c (libunwind_load): Display message if dlopen
+ failed.
+
2012-02-01 Gary Benson <gbenson@redhat.com>
* symtab.h (symbol_name_match_p_ftype): New typedef.
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. */