[Bug backends/21541] No error handling for missing backends

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Jun 13 16:12:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21541

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|eu-readelf --notes fails to |No error handling for
                   |dump PRSTATUS data?         |missing backends

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to myocytebd from comment #2)
> I looked at: libebl/eblopenbackend.c,
> and found openbackend() implementation surprising:
> 1. It doesn't try relative path from the executable.
> 2. It doesn't try the path from --prefix.
> 3. When it failed to load, it doesn't print any message.

Yes, this has come up before and it is at least surprising to users.
Lets keep this bug open to add some error handling to the ebl backend loading
code so the tools can give at least a warning.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list