Ticket #1800 (new defect) — at Initial Version
Minor enhancement/fix for mc.ext
Reported by: | mnk | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.7.5 |
Component: | mc-core | Version: | 4.7.0-pre4 |
Keywords: | Cc: | galtgendo@… | |
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
Concerning objects/libs:
right now:
# Object
type/ELF
<------>#Open=%var{PAGER:more} %f
<------>View=%view{ascii} file %f && nm %f
# Manual page
# Exception - .so libraries are not manual pages
regex/\.(so|so\.[0-9\.]*)$
<------>View=%view{ascii} file %f && nm %f
What's wrong with it:
in that file top has priority over bottom,
so the second case is never hit (at least on Linux);
also, if shared lib is stripped, no symbols will be reported;
Proposed change:
# Manual page
# Exception - .so libraries are not manual pages
regex/\.(so|so\.[0-9\.]*)$
<------>View=%view{ascii} file %f && nm -C -D %f
# Object
type/ELF
<------>#Open=%var{PAGER:more} %f
<------>View=%view{ascii} file %f && nm -C %f
(demangling as a bonus)