Community
Participate
Working Groups
With GDB 7.0 and 7.1, not all commands accepted --thread-group. But, to resume all the threads of a process in non-stop, -exec-continue did accept it, so we added it directly in MIExecContinue. With GDB 7.2, all commands accept --thread-group and we handle it generically based on the context passed. This causes a duplication of the flag when resuming the process node in non-stop: 706,816 [MI] 90-exec-continue --thread-group i2 --thread-group i2 706,819 [MI] 90^error,msg="Duplicate '--thread-group' option" This also applies to MIExecInterrupt.
I just noticed that GDB 7.2 is accepting a duplicate --thread-group flag, but that it is GDB 7.2.1 (coming soon to a computer near you) that does not. But we still have to fix it.
Created attachment 192431 [details] Fix This fix uses the new GDBRunControl_7_2_NS to no longer force the extra --thread-group flag for -exec-continue and -exec-interrupt.
Committed this patch to HEAD.
*** cdt cvs genie on behalf of mkhouzam *** Bug 340262: Duplicate --thread-group when resuming a process in non-stop and GDB 7.2 [*] GDBRunControl_7_2_NS.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_2_NS.java?root=Tools_Project&r1=1.1&r2=1.2