Bug 106491 - mprof needs help to read modern binaries and symbol tables.
Summary: mprof needs help to read modern binaries and symbol tables.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Shaun Amott
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 19:00 UTC by Julian Elischer
Modified: 2006-12-11 00:30 UTC (History)
0 users

See Also:


Attachments
file.diff (38 bytes, patch)
2006-12-08 19:00 UTC, Julian Elischer
no flags Details | Diff
file.diff (2.94 KB, patch)
2006-12-08 19:00 UTC, Julian Elischer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Elischer 2006-12-08 19:00:20 UTC
	Over time the object formats have changed and programs have gotten
        bigger and ,more complicated.. Add C++ to the mox and lib mprof
        doesn't work any more, crashing here and there.  These patched try to 
        address the problems I encountered.  They may be less than perfect
	but the resulting data is useful and it no linger crashes.

Fix: Apply the following patches.
How-To-Repeat: 	try use  mprof on modern binaries. (include  C++ for added fun)
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2006-12-08 19:13:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2006-12-08 19:15:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2006-12-08 19:16:15 UTC
State Changed
From-To: closed->open

Reopen worng pr take it. 


Comment 4 Martin Wilke freebsd_committer freebsd_triage 2006-12-08 19:16:15 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Reopen wrong pr take it.
Comment 5 Shaun Amott freebsd_committer freebsd_triage 2006-12-10 23:59:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

Grab.
Comment 6 Shaun Amott freebsd_committer freebsd_triage 2006-12-11 00:29:12 UTC
State Changed
From-To: open->closed

I've added your patches to the port. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2006-12-11 00:29:22 UTC
shaun       2006-12-11 00:29:07 UTC

  FreeBSD ports repository

  Modified files:
    devel/mprof          Makefile 
    devel/mprof/files    patch-mpgraph.c 
  Added files:
    devel/mprof/files    patch-mprof.c 
  Log:
  Do a bit of patch work to improve handling of modern (large/complex,
  possibly C++) software.
  
  PR:             ports/106491
  Submitted by:   Julian Elischer <julian@pan.ironport.com>
  
  Revision  Changes    Path
  1.22      +1 -0      ports/devel/mprof/Makefile
  1.2       +32 -0     ports/devel/mprof/files/patch-mpgraph.c
  1.1       +69 -0     ports/devel/mprof/files/patch-mprof.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"