Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337602

Summary: [multi-process] Setting program arguments should be done per process
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsf-gdbAssignee: Marc Khouzam <marc.khouzam>
Status: RESOLVED FIXED QA Contact: Marc Khouzam <marc.khouzam>
Severity: normal    
Priority: P3 CC: cdtdoug, eclipse.sprigogin, nobody, pawel.1.piech
Version: 8.0Flags: marc.khouzam: review? (eclipse.sprigogin)
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Fix marc.khouzam: iplog-

Description Marc Khouzam CLA 2011-02-18 14:38:22 EST
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.
Comment 1 Marc Khouzam CLA 2011-02-18 14:49:25 EST
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.