mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
2012-02-01 Tristan Gingold <gingold@adacore.com>
* libunwind-frame.c (libunwind_load): Display message if dlopen failed.
This commit is contained in:
parent
f20bd22b62
commit
47c1316cb5
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user