Community
Participate
Working Groups
Hi, It seems that the class MIExecReturn incorrectly invokes exec-run instead of exec-return in following piece of code: -------- public MIExecReturn(String miVersion, String arg) { super(miVersion, "-exec-run", new String[] { arg }); //$NON-NLS-1$ } -------- Patch attached. Ewa.
Created attachment 73283 [details] patch
Ouch. I'm wondering why we haven't seen bad behavior as a result of this. Or have we?
I think the reason is that the MIExecReturn code never seems to be invoked by the MI CDI implementation. Instead MIExecFinish is used. The diference between the finish command and the return command is that the finish command continues execution unil the return from teh current stack frame whereas the return command just returns from the current stack frame. Ewa.
I was afraid of that... At any rate, patch applied. Thanks!