rpms/eclipse-valgrind/F-11 eclipse-valgrind-massif-unknown-symbols.patch, NONE, 1.1 eclipse-valgrind.spec, 1.9, 1.10
Elliott Baron
ebaron at fedoraproject.org
Thu Jul 2 20:41:02 UTC 2009
- Previous message (by thread): rpms/ruby-qpid/F-10 .cvsignore, 1.11, 1.12 ruby-qpid.spec, 1.19, 1.20 sources, 1.12, 1.13
- Next message (by thread): rpms/xorg-x11-apps/devel xvidtune-1.0.1-buffer-stomp.patch, NONE, 1.1 .cvsignore, 1.14, 1.15 sources, 1.14, 1.15 xorg-x11-apps.spec, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ebaron
Update of /cvs/pkgs/rpms/eclipse-valgrind/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18259
Modified Files:
eclipse-valgrind.spec
Added Files:
eclipse-valgrind-massif-unknown-symbols.patch
Log Message:
* Thu Jul 2 2009 Elliott Baron <ebaron at redhat.com> 0.2.1-2
- Fix Massif parsing for unknown symbols (Eclipse#281417).
eclipse-valgrind-massif-unknown-symbols.patch:
--- NEW FILE eclipse-valgrind-massif-unknown-symbols.patch ---
### Eclipse Workspace Patch 1.0
#P org.eclipse.linuxtools.valgrind.massif
Index: src/org/eclipse/linuxtools/valgrind/massif/MassifParser.java
===================================================================
--- src/org/eclipse/linuxtools/valgrind/massif/MassifParser.java (revision 22424)
+++ src/org/eclipse/linuxtools/valgrind/massif/MassifParser.java (working copy)
@@ -188,14 +188,14 @@
int ix = line.lastIndexOf("("); //$NON-NLS-1$
if (ix >= 0) {
function = line.substring(line.indexOf(start), ix);
- if (function != null) {
- function = function.trim();
- }
- else {
- fail(line);
- }
}
else {
+ function = line.substring(line.indexOf(start));
+ }
+ if (function != null) {
+ function = function.trim();
+ }
+ else {
fail(line);
}
Index: src/org/eclipse/linuxtools/valgrind/massif/MassifHeapTreeNode.java
===================================================================
--- src/org/eclipse/linuxtools/valgrind/massif/MassifHeapTreeNode.java (revision 22424)
+++ src/org/eclipse/linuxtools/valgrind/massif/MassifHeapTreeNode.java (working copy)
@@ -30,13 +30,18 @@
StringBuffer nodeText = new StringBuffer();
formatBytes(percent, bytes, nodeText);
- nodeText.append(address).append(": "); //$NON-NLS-1$
- nodeText.append(function).append(" "); //$NON-NLS-1$
- nodeText.append("(").append(filename); //$NON-NLS-1$
- if (line > 0) {
- nodeText.append(":").append(line);//$NON-NLS-1$
+ nodeText.append(address).append(":"); //$NON-NLS-1$
+ if (function.length() > 0) {
+ nodeText.append(" "); //$NON-NLS-1$
+ nodeText.append(function);
}
- nodeText.append(")"); //$NON-NLS-1$
+ if (filename != null) {
+ nodeText.append(" (").append(filename); //$NON-NLS-1$
+ if (line > 0) {
+ nodeText.append(":").append(line);//$NON-NLS-1$
+ }
+ nodeText.append(")"); //$NON-NLS-1$
+ }
this.percent = percent;
this.bytes = bytes;
this.address = address;
Index: eclipse-valgrind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-valgrind/F-11/eclipse-valgrind.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- eclipse-valgrind.spec 8 Jun 2009 19:28:05 -0000 1.9
+++ eclipse-valgrind.spec 2 Jul 2009 20:40:31 -0000 1.10
@@ -8,7 +8,7 @@
Name: eclipse-valgrind
Version: 0.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Valgrind Tools Integration for Eclipse
Group: Development/Tools
@@ -16,6 +16,7 @@ License: EPL
URL: http://www.eclipse.org/linuxtools/projectPages/valgrind
Source0: %{name}-fetched-src-%{src_repo_tag}.tar.bz2
Source1: %{name}-fetch-src.sh
+Patch0: %{name}-massif-unknown-symbols.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#No CDT on ppc64
@@ -39,6 +40,10 @@ projects using the Valgrind tool suite a
%prep
%setup -q -n %{name}-fetched-src-%{src_repo_tag}
+pushd org.eclipse.linuxtools.valgrind.massif
+%patch0
+popd
+
%build
%{eclipse_base}/buildscripts/pdebuild \
-f org.eclipse.linuxtools.valgrind.feature \
@@ -61,6 +66,9 @@ install -d -m 755 %{buildroot}%{install_
%doc org.eclipse.linuxtools.valgrind-feature/epl-v10.html
%changelog
+* Thu Jul 2 2009 Elliott Baron <ebaron at redhat.com> 0.2.1-2
+- Fix Massif parsing for unknown symbols (Eclipse#281417).
+
* Mon Jun 8 2009 Elliott Baron <ebaron at redhat.com> 0.2.1-1
- Upstream 0.2.1 release.
- Previous message (by thread): rpms/ruby-qpid/F-10 .cvsignore, 1.11, 1.12 ruby-qpid.spec, 1.19, 1.20 sources, 1.12, 1.13
- Next message (by thread): rpms/xorg-x11-apps/devel xvidtune-1.0.1-buffer-stomp.patch, NONE, 1.1 .cvsignore, 1.14, 1.15 sources, 1.14, 1.15 xorg-x11-apps.spec, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list