add gdb attach cmd
authoryoonki.park <yoonki.park@samsung.com>
Mon, 22 Apr 2013 08:32:56 +0000 (17:32 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Mon, 22 Apr 2013 08:32:56 +0000 (17:32 +0900)
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java

index 767f202..a5fe2ef 100644 (file)
@@ -62,7 +62,7 @@ public class TizenPlatformConstants {
 
     public static final String GDBSERVER_CMD;
     public static final String GDBSERVER_PLATFORM_CMD;
-    public static final String ATTACH_OPTION = " --attach ";
+    public static final String DEBUG_ATTACH_CMD_FORMAT;
     public static final String HOST_GDBSERVER_PATH = "/usr/bin/gdbserver";
 
     // Definitions for installing
@@ -162,6 +162,7 @@ public class TizenPlatformConstants {
         DLOGUTIL_CMD = "/usr/bin/dlogutil %s";
         SDK_ROOT_COMMAND = "/usr/bin/da_command";
         PROCESS_GET_PROCESS_ID_COMMAND = SDK_ROOT_COMMAND + " process | grep '%s' | grep -v grep | awk '{print $2}'";
+        DEBUG_ATTACH_CMD_FORMAT = "-m debug -P %s -attach %s";
     }
 
     /**