Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337602 - [multi-process] Setting program arguments should be done per process
Summary: [multi-process] Setting program arguments should be done per process
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 14:38 EST by Marc Khouzam CLA
Modified: 2011-02-18 15:23 EST (History)
4 users (show)

See Also:
marc.khouzam: review? (eclipse.sprigogin)


Attachments
Fix (6.75 KB, patch)
2011-02-18 14:38 EST, Marc Khouzam CLA
marc.khouzam: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.