debugger: fixed running debuggee running without command line parameters after running it with command line parameters (bug #9861)

git-svn-id: trunk@12343 -
This commit is contained in:
vincents 2007-10-06 13:40:47 +00:00
parent d3a617083b
commit 7be2b96bc1

View File

@ -2170,8 +2170,9 @@ begin
// then the rtl is compiled with regcalls
RetrieveRegCall;
if Arguments <>''
then ExecuteCommand('-exec-arguments %s', [Arguments], [cfIgnoreError]);
// also call execute -exec-arguments if there are no arguments in this run
// so the possible arguments of a previous run are cleared
ExecuteCommand('-exec-arguments %s', [Arguments], [cfIgnoreError]);
if tfHasSymbols in FTargetFlags
then begin