Ticket #1800 (new defect) — at Version 3

Opened 15 years ago

Last modified 14 years ago

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 (last modified by angel_il) (diff)

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)

Change History

comment:1 Changed 15 years ago by mnk

Sorry, should have quoted, but you'll probably get the idea.

comment:2 Changed 15 years ago by mnk

  • Cc galtgendo@… added

comment:3 Changed 15 years ago by angel_il

  • Description modified (diff)
Note: See TracTickets for help on using tickets.