[Title] fix context menu bug for valgrind and update libc6-dbg package
authorJaewon Lim <jaewon81.lim@samsung.com>
Thu, 5 Jul 2012 12:05:16 +0000 (21:05 +0900)
committerJaewon Lim <jaewon81.lim@samsung.com>
Thu, 5 Jul 2012 12:05:16 +0000 (21:05 +0900)
[Type] bug fix
[Module] profiler eplugin
[Priority] major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.1_armel.tar [deleted file]
builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.2_armel.tar [moved from builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.7_i386.tar with 55% similarity]
builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.9_i386.tar [new file with mode: 0644]
org.eclipse.linuxtools.valgrind.launch.exe/plugin.xml
org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/TizenValgrindLaunchDelegate.java

diff --git a/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.1_armel.tar b/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.1_armel.tar
deleted file mode 100644 (file)
index b2ba905..0000000
Binary files a/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.1_armel.tar and /dev/null differ
similarity index 55%
rename from builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.7_i386.tar
rename to builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.2_armel.tar
index 84f8c90..6c62e52 100644 (file)
Binary files a/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.7_i386.tar and b/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.2_armel.tar differ
diff --git a/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.9_i386.tar b/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.9_i386.tar
new file mode 100644 (file)
index 0000000..cae6ffa
Binary files /dev/null and b/builder/metadata/data/SDK/develop-tool/libc6-dbg_0.0.9_i386.tar differ
index eed0298..d38f8fd 100644 (file)
                   variable="activeWorkbenchWindow.activePerspective">
                <and>
                   <equals
-                        value="org.tizen.nativecpp.perspective">
+                        value="org.tizen.nativeapp.perspective">
                   </equals>
                </and>
             </with>
index 184d292..234e498 100644 (file)
@@ -64,6 +64,7 @@ public class TizenValgrindLaunchDelegate extends TizenCppLaunchDelegate {
        protected static final String NO = "no";
        protected static final String YES = "yes";
        protected static final String LOG_FILE = "valgrind.xml";
+       protected static final String BADA_EXT = ".exe";
 
        protected static final String PACKAGE_NAME = "valgrind";
        protected static final String PACKAGE_FILENAME_ARM = "valgrind_armel.deb";
@@ -139,6 +140,13 @@ public class TizenValgrindLaunchDelegate extends TizenCppLaunchDelegate {
 
                        IPath exeFile = CDebugUtils.verifyProgramPath(config);
                        remoteExePath += exeFile.toFile().getName();
+                       // for bada application
+                       // execute not .exe file instead of .exe file
+                       if(remoteExePath.endsWith(BADA_EXT))
+                       {
+                               remoteExePath = remoteExePath.substring(0, remoteExePath.length() - BADA_EXT.length());
+                       }
+                       
                        cmd = "ls " + remoteExePath + TizenPlatformConstants.CMD_SUFFIX;
                        // resultRsp = session.run(cmd, null);
                        resultRsp = CommandManager.runCommandReturningResult(cmd);