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 3847d29e31
This commit is contained in:
Watson
2013-07-19 16:48:38 +09:00
parent c97eba1d1e
commit 8384e336f9

View File

@@ -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