Author: rmottola
Date: Tue May 3 00:34:57 2016
New Revision: 39709
URL: http://svn.gna.org/viewcvs/gnustep?rev=39709&view=rev
Log:
Refactor path to executablePath
Modified:
apps/projectcenter/trunk/ChangeLog
apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
Modified: apps/projectcenter/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=39709&r1=39708&r2=39709&view=diff
==============================================================================
--- apps/projectcenter/trunk/ChangeLog (original)
+++ apps/projectcenter/trunk/ChangeLog Tue May 3 00:34:57 2016
@@ -1,3 +1,9 @@
+2016-05-03 Riccardo Mottola <[email protected]>
+
+ * Modules/Debuggers/ProjectCenter/PCDebugger.h
+ * Modules/Debuggers/ProjectCenter/PCDebugger.m
+ Refactor path to executablePath.
+
2016-03-23 Riccardo Mottola <[email protected]>
* Modules/Debuggers/ProjectCenter/PCDebugger.m
Modified: apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h?rev=39709&r1=39708&r2=39709&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
(original)
+++ apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
Tue May 3 00:34:57 2016
@@ -1,7 +1,7 @@
/*
** PCDebugger
**
-** Copyright (c) 2008
+** Copyright (c) 2008-2016
**
** Author: Gregory Casamento <[email protected]>
**
@@ -32,10 +32,13 @@
id debuggerView;
id debuggerWindow;
id statusField;
- NSString *path;
+ NSString *executablePath;
NSString *debuggerPath;
}
- (void) setStatus: (NSString *) status;
- (NSString *) status;
+- (NSString *)executablePath;
+- (void)setExecutablePath:(NSString *)p;
+
@end
Modified: apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m?rev=39709&r1=39708&r2=39709&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
(original)
+++ apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
Tue May 3 00:34:57 2016
@@ -145,7 +145,7 @@
-(void) debugExecutableAtPath: (NSString *)filePath
withDebugger: (NSString *)debugger
{
- ASSIGN(path,filePath);
+ ASSIGN(executablePath,filePath);
ASSIGN(debuggerPath,debugger);
[debuggerWindow setTitle: [NSString stringWithFormat: @"Debugger
(%@)",filePath]];
[self show];
@@ -160,8 +160,8 @@
- (void) startDebugger
{
[debuggerView runProgram: debuggerPath
- inCurrentDirectory: [path stringByDeletingLastPathComponent]
- withArguments: [[NSArray alloc] initWithObjects: @"-f", path,
nil]
+ inCurrentDirectory: [executablePath
stringByDeletingLastPathComponent]
+ withArguments: [[NSArray alloc] initWithObjects: @"-f",
executablePath, nil]
logStandardError: YES];
}
@@ -198,14 +198,14 @@
debuggerView = view;
}
-- (NSString *)path
-{
- return path;
-}
-
-- (void)setPath:(NSString *)p
-{
- ASSIGN(path,p);
+- (NSString *)executablePath
+{
+ return executablePath;
+}
+
+- (void)setExecutablePath:(NSString *)p
+{
+ ASSIGN(executablePath,p);
}
// action methods for toolbar...
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs