From 8384e336f9668d46bb35cd66fef8390bac53b321 Mon Sep 17 00:00:00 2001 From: Watson Date: Fri, 19 Jul 2013 16:48:38 +0900 Subject: [PATCH] fix a bug in debugger where built-in debug commands are not working http://hipbyte.myjetbrains.com/youtrack/issue/RM-187 This bug was introduced by https://github.com/lrz/RubyMotion/commit/3847d29e318fc0baf497c7b87a2f71068ba94bf8 --- bin/sim.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sim.m b/bin/sim.m index 95552987..d152667d 100644 --- a/bin/sim.m +++ b/bin/sim.m @@ -982,7 +982,7 @@ gdb_commands_file(void) if ([[NSFileManager defaultManager] fileExistsAtPath:gdb_path]) { gdb_task = [[NSTask launchedTaskWithLaunchPath:gdb_path arguments:[NSArray arrayWithObjects:@"--arch", @"i386", @"-q", - @"--pid", [pidNumber description], nil]] retain]; + @"--pid", [pidNumber description], @"-x", gdb_commands_file(), nil]] retain]; } else if ([[NSFileManager defaultManager] fileExistsAtPath:lldb_path]) { gdb_task = [[NSTask launchedTaskWithLaunchPath:lldb_path