Ticket #1800 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

Minor enhancement/fix for mc.ext

Reported by: mnk Owned by: andrew_b
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: committed-master

Description (last modified by andrew_b) (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 9 years ago by mnk

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

comment:2 Changed 9 years ago by mnk

  • Cc galtgendo@… added

comment:3 Changed 9 years ago by angel_il

  • Description modified (diff)

comment:4 Changed 9 years ago by andrew_b

  • Description modified (diff)

comment:5 Changed 8 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Component changed from mc-vfs to mc-core
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.5

Created 1800_ext_elf_so branch.
changeset:17906c18c62b7be0e3528d0d9b586c618a03c3d1

comment:6 Changed 8 years ago by angel_il

  • Votes for changeset set to angel_il

comment:7 Changed 8 years ago by slavazanko

  • Votes for changeset changed from angel_il to angel_il slavazanko
  • severity changed from on review to approved

comment:8 Changed 8 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from angel_il slavazanko to committed-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:9 Changed 8 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.