This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]