Community
Participate
Working Groups
Created attachment 189312 [details] Fix Currently, setting the program arguments is done globally for GDB. This made sense for single process, but for multi-process we need to set the proper context. This patch does this. It is not backwards compatible but I think now is the time to do it since we are making major changes across the board.
We still don't have a way to specify different arguments for different processes, but this change is in preparation. I also removed some Deprecated methods related to arguments. Committed to HEAD. Sergey, can you review this change as it finalizes the change you made about handling arguments with new lines.
*** cdt cvs genie on behalf of mkhouzam *** Bug 337602: Setting program arguments should be done per process [*] GDBJtagDSFFinalLaunchSequence.java 1.13 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/jtag/org.eclipse.cdt.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/GDBJtagDSFFinalLaunchSequence.java?root=Tools_Project&r1=1.12&r2=1.13 [*] DebugNewProcessSequence.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/DebugNewProcessSequence.java?root=Tools_Project&r1=1.2&r2=1.3 [*] CommandFactory.java 1.20 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/CommandFactory.java?root=Tools_Project&r1=1.19&r2=1.20 [*] MIGDBSetArgs.java 1.5 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIGDBSetArgs.java?root=Tools_Project&r1=1.4&r2=1.5