From 994c6c02043f10e19a7f17edde65ad25fba556ec Mon Sep 17 00:00:00 2001 From: "yoonki.park" Date: Mon, 22 Apr 2013 17:32:56 +0900 Subject: [PATCH] add gdb attach cmd Signed-off-by: yoonki.park --- org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java b/org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java index 767f202..a5fe2ef 100644 --- a/org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java +++ b/org.tizen.common/src/org/tizen/common/TizenPlatformConstants.java @@ -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"; } /** -- 2.7.4