This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: display an error message if libunwind-XX cannot be load
On Feb 1, 2012, at 4:32 PM, Tom Tromey wrote:
>>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:
>
> Tristan> * libunwind-frame.c (libunwind_load): Display message if
> Tristan> dlopen failed.
>
> Tristan> + fprintf_unfiltered (gdb_stderr, "\
> Tristan> +[GDB failed to load %s: %s]\n", LIBUNWIND_SO, dlerror ());
>
> This is missing _().
> This is ok with that change.
Thanks, committed.
> Do you want to print something for all the other failure cases in that
> function?
Not yet. Missing symbols is far unlikely to happen, and there are more important issues to be fixed with libunwind...
Tristan.