[RM-691] fix where it can't debug app on device with Xcode 6

1. not forward SIGINT to lldb.
Because if forward SIGINT, lldb will terminate

2. remove "process.Continue()\n"
if lauch the app with "process.Continue()\n",
it can't invoke lldb command.
weird.
This commit is contained in:
Watson
2014-12-18 12:04:32 +09:00
parent f0f019ce47
commit 264422f26f

View File

@@ -389,9 +389,6 @@ static id gdb_task = nil;
static void
sigforwarder(int sig)
{
if (gdb_task != nil) {
kill([gdb_task processIdentifier], sig);
}
}
#define WITH_DEBUG 1
@@ -892,7 +889,6 @@ start_debug_server(am_device_t dev)
"lldb.debugger.HandleCommand(\"process plugin packet send 'QSetEnableAsyncProfiling;enable:1;interval_usec:1000000;scan_type:0xfffffeff;'\")\n"\
"error = lldb.SBError()\n"\
"process.RemoteLaunch(None, None, None, None, None, None, 0, False, error)\n"\
"process.Continue()\n"\
"",
lldb_socket_path,
app_path,