Merge -[DebuggerController startDebugger] and |-debuggerConnected|.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:32:54 +0000 (12:32 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:32:54 +0000 (12:32 -0500)
Source/DebuggerController.h
Source/DebuggerController.m

index 080f4033f0f07c40d3b02f56d954ae7d1cc5c830..72dccd4764e16a92d67420eabdeb359f3905f22e 100644 (file)
@@ -60,8 +60,6 @@
 
 - (void)setError:(NSString*)anError;
 
-- (void)startDebugger;
-
 - (IBAction)attachedToggled:(id)sender;
 
 - (IBAction)run:(id)sender;
index 6d096123063dc57bc0ff22a03b02028ad8bd3c98..f604869df5e556d11ad9a48ed23f8bd2c5dc6b75 100644 (file)
   [errormsg setHidden:YES];
   if (!self.connection.attached)
     return;
-  [self startDebugger];
-}
-
-/**
- * Called once the socket accepts and MacGDBp is connected to the debugger
- */
-- (void)startDebugger
-{
   if ([[NSUserDefaults standardUserDefaults] boolForKey:@"BreakOnFirstLine"])
     [self stepIn:self];
 }