implemented stop debugging on rebuild

git-svn-id: trunk@3123 -
This commit is contained in:
mattias 2002-08-18 08:57:46 +00:00
parent 819c432a6e
commit 658c2a8c8d

View File

@ -1037,13 +1037,11 @@ function TGDBMIDebugger.ProcessStopped(const AParams: String): Boolean;
Location.FuncName := '';
Location.Address := GDBGetData('$fp+12', []);
writeln('AAA1 ');
if ExecuteCommand('info line * pointer(%d)', [Integer(Location.Address)],
S, [cfIgnoreError, cfNoMiCommand])
then begin
Location.SrcLine := StrToIntDef(GetPart('Line ', ' of', S), -1);
Location.SrcFile := GetPart('\"', '\"', S);
writeln('AAA2 ',Location.SrcLine,' ',Location.SrcLine);
end;
DoException(ExceptionName, ExceptionMessage);
@ -1887,6 +1885,9 @@ end;
end.
{ =============================================================================
$Log$
Revision 1.28 2003/06/09 17:20:43 mattias
implemented stop debugging on rebuild
Revision 1.27 2003/06/09 15:58:05 mattias
implemented view call stack key and jumping to last stack frame with debug info