Author: rmottola
Date: Fri May 13 01:29:47 2016
New Revision: 39748
URL: http://svn.gna.org/viewcvs/gnustep?rev=39748&view=rev
Log:
gdb version ivar and accessors. Plus, do not start quiet or version is not shown
Modified:
apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
apps/projectcenter/trunk/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=39748&r1=39747&r2=39748&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
(original)
+++ apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.h
Fri May 13 01:29:47 2016
@@ -35,6 +35,7 @@
NSString *executablePath;
NSString *debuggerPath;
int subProcessId;
+ float gdbVersion;
}
- (void) setStatus: (NSString *) status;
@@ -44,5 +45,7 @@
- (void) interrupt;
- (int) subProcessId;
- (void) setSubProcessId:(int)pid;
+- (float) gdbVersion;
+- (void) setGdbVersion:(float)ver;
@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=39748&r1=39747&r2=39748&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
(original)
+++ apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
Fri May 13 01:29:47 2016
@@ -140,6 +140,7 @@
[viewDelegate release];
subProcessId = 0;
+ gdbVersion = 0.0;
}
return self;
}
@@ -163,7 +164,7 @@
{
[debuggerView runProgram: debuggerPath
inCurrentDirectory: [executablePath
stringByDeletingLastPathComponent]
- withArguments: [[NSArray alloc] initWithObjects: @"-q",
@"--interpreter=mi", @"-f", executablePath, nil]
+ withArguments: [[NSArray alloc] initWithObjects:
@"--interpreter=mi", @"-f", executablePath, nil]
logStandardError: YES];
}
@@ -218,6 +219,16 @@
- (void) setSubProcessId: (int)pid
{
subProcessId = pid;
+}
+
+- (float) gdbVersion
+{
+ return gdbVersion;
+}
+
+- (void) setGdbVersion:(float)ver
+{
+ gdbVersion = ver;
}
// kill process
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs