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

Bug 326176

Summary: Installing GDB Hardware Debugging feature downgrades CDT to 7.0.0
Product: [Tools] CDT Reporter: John Dallaway <john>
Component: cdt-relengAssignee: Vivian Kong <vivkong>
Status: RESOLVED FIXED QA Contact: Vivian Kong <vivkong>
Severity: major    
Priority: P3 CC: marc.khouzam
Version: 7.0.1   
Target Milestone: 7.0.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description John Dallaway CLA 2010-09-24 13:02:13 EDT
Build Identifier: Helios SR1 CPP build 20100917-0705 x86_64

When I attempt to add the optional org.eclipse.cdt.debug.gdbjtag feature to a pristine Helios SR1 CPP installation, the main org.eclipse.cdt feature is downgraded from 7.0.1 to 7.0.0.

Reproducible: Always

Steps to Reproduce:
1. install and start eclipse-cpp-helios-SR1-linux-gtk-x86_64.tar.gz
2. add update site http://download.eclipse.org/tools/cdt/releases/helios
3. install org.eclipse.cdt.debug.gdbjtag feature (v7.0.0.201009141542)
4. restart eclipse
5. observe org.eclipse.cdt feature is now v7.0.0.201006141710
Comment 1 Vivian Kong CLA 2010-09-24 13:06:26 EDT
I'll take a look
Comment 2 Andrew Gvozdev CLA 2010-09-24 13:22:17 EDT
I think this could've been solved by bug 321692. Where is today's build?
Comment 3 Andrew Gvozdev CLA 2010-09-24 13:23:57 EDT
(In reply to comment #2)
> I think this could've been solved by bug 321692. Where is today's build?
Scratch that, the other bug is for 8.0 stream.
Comment 4 Vivian Kong CLA 2010-09-24 13:27:00 EDT
The org.eclipse.cdt.debug.gdbjtag feature specified an invalid dependency:

<import feature="org.eclipse.cdt.gnu.debug" version="6.0.0"/>

(o.e.cdt.gnu.debug feature is now at 7.0.1)


I've removed the invalid dependency and my test build looks promising.  Kicking off a new build now to verify the fix.
Comment 5 Vivian Kong CLA 2010-09-24 13:52:37 EDT
Here's the build with the fix:

http://download.eclipse.org/tools/cdt/builds/7.0.1/I.I201009241320/index.html

Please give that a try.

This is not an issue for CDT HEAD since all dependencies are removed by bug 321692.
Comment 6 John Dallaway CLA 2010-09-24 14:31:35 EDT
Vivian, thanks for looking at this so promptly. I'm downloading the zip archive now and will test.

The reported issue is a major inconvenience for CDT users who require GDB Hardware Debugging support and update with the formal releases only.

Is there any possibility of getting the fix into the
http://download.eclipse.org/tools/cdt/releases/helios site before Helios SR2?
Comment 7 Marc Khouzam CLA 2010-09-24 14:44:58 EDT
Thanks Vivian for fixing this.
Comment 8 John Dallaway CLA 2010-09-24 17:46:06 EDT
(In reply to comment #6)

> Vivian, thanks for looking at this so promptly. I'm downloading the zip archive
> now and will test.

The issue is indeed fixed in 7.0.1/I.I201009241320. Thanks.
Comment 9 Vivian Kong CLA 2010-09-24 23:46:23 EDT
(In reply to comment #6)
> Is there any possibility of getting the fix into the
> http://download.eclipse.org/tools/cdt/releases/helios site before Helios SR2?

I have added I.I201009241320 build to our update site.