Bug 413373 - Allow variable substitution in GDB command file name
Summary: Allow variable substitution in GDB command file name
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.2.1   Edit
Assignee: Sergey Prigogin CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 21:28 EDT by Sergey Prigogin CLA
Modified: 2013-07-23 19:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2013-07-19 21:28:43 EDT
We need to support project-specific gdbinit files. The simplest way to do that would be to define the "GDB command file" preference at workspace level to be something like ${project_loc}/project.gdbinit. Unfortunately, "GDB command file" attribute of the launch configuration currently doesn't support variable substitution.
Comment 1 Sergey Prigogin CLA 2013-07-22 14:25:01 EDT
The proposed fix is in Gerrit at https://git.eclipse.org/r/#/c/14718/.
Comment 3 CDT Genie CLA 2013-07-23 19:22:09 EDT
*** cdt git genie on behalf of Sergey Prigogin ***

    Bug 413373 - Allow variable substitution in GDB command file name
    Change-Id: I78f8354bdfc4b3e35cd674d29d4bd68f15860a12
    Reviewed-on: <a  href="https://git.eclipse.org/r/14718">https://git.eclipse.org/r/14718</a>
    Reviewed-by: Mikhail Khodjaiants &lt;mikhailkhod@xxxxxxxxxxxxxx&gt;
    IP-Clean: Mikhail Khodjaiants &lt;mikhailkhod@xxxxxxxxxxxxxx&gt;
    Tested-by: Mikhail Khodjaiants &lt;mikhailkhod@xxxxxxxxxxxxxx&gt;

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b7a0a1046ce073c6545844fad075c73151255175