[Rpm-maint] [rpm-software-management/rpm] debugedit: Do not 'edit_dwarf2' when just extracting build-id (#1435)

Vitalio notifications at github.com
Sun Nov 15 15:11:02 UTC 2020


No need to call edit_dwarf2() if debugedit is invoked just to extract
build-id (with `-i -n'). Otherwise, we will get `DWARF version 0
unhandled' warning for compressed .debug files:

  /usr/lib/rpm/debugedit: ./usr/lib/debug/...e.ko.debug: DWARF version 0 unhandled

Context: We have kernel modules elfcompressed in ALT.

@ldv-alt
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1435

-- Commit Summary --

  * debugedit: Do not 'edit_dwarf2' when just extracting build-id

-- File Changes --

    M tools/debugedit.c (3)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1435.patch
https://github.com/rpm-software-management/rpm/pull/1435.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1435
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201115/355c3f66/attachment.html>


More information about the Rpm-maint mailing list