private String mSerialNumber = null;
private boolean mIsEmulator = false;
- private Arch mArch = Arch.ARM;
+ private Arch mArch = Arch.X86;
private String mDeviceName = null;
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
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";
}
/**
public Process runLaunchCommand(String command, boolean isBlock) throws IOException {
Process process = null;
+ String serialNumber = device.getSerialNumber();
if (console != null) {
- console.println("$ sdb launch " + command);
+ console.println("$ sdb -s " + serialNumber + " launch " + command);
}
if ( isBlock ) {
if (sdbPath == null) {
throw new IOException("Cannot find sdb command");
}
- process = Runtime.getRuntime().exec(sdbPath + " launch " + command);
+
+ String sdbShellCmd = sdbPath + " -s " + serialNumber + " launch " + command;
+ process = Runtime.getRuntime().exec(sdbShellCmd);
}
-
+
return process;
}
+* 2.1.36
+- Changed default value for device architecture to X86
+== kh5325.kim <ho.namkoong@samsung.com> 2013-04-22
+* 2.1.35
+- Added "-s" option of "sdb launch"
+== gune.kim <gune.kim@samsung.com> 2013-04-19
* 2.1.34
- updated Tizen Web UI FW to 0.2.25
== jihoon80.song <jihoon80.song@samsung.com> 2013-04-19 14:58
-Version:2.1.34
+Version:2.1.36
Source:common-eplugin
Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>