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

Bug 369569

Summary: Need JUnit tests for GDB 7.4
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, pawel.1.piech
Version: 8.0   
Target Milestone: 8.1.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
JUnit tests for 7.4
marc.khouzam: iplog-
Fix for test setting a breakpoint on an invalid line marc.khouzam: iplog-

Description Marc Khouzam CLA 2012-01-24 13:40:25 EST
GDB 7.4 is now out, we should add the corresponding suite of JUnit tests
Comment 1 Marc Khouzam CLA 2012-01-24 14:45:50 EST
Created attachment 210001 [details]
JUnit tests for 7.4

I copied the JUnit 7.3 tests for GDB 7.4
Comment 2 Marc Khouzam CLA 2012-01-24 14:47:10 EST
Created attachment 210002 [details]
Fix for test setting a breakpoint on an invalid line

Starting with GDB 7.4, breakpoints at invalid lines succeed and become pending breakpoints.  This is because the invalid line for one file, may be valid for another file with the same name.

Our previous test would expect a failure.  I have change that for 7.4.

I will commit both patches to master.
Comment 3 Marc Khouzam CLA 2012-01-24 14:48:53 EST
Fixed
Comment 4 CDT Genie CLA 2012-02-29 13:22:05 EST
*** cdt git genie on behalf of Marc Khouzam ***

    Bug 369569: With GDB 7.4, breakpoints on invalid lines succeed as pending breakpoints

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b9a036ecdaf598b3d3a289bb1eb65c92e0a2501c
Comment 5 CDT Genie CLA 2012-02-29 13:22:06 EST
*** cdt git genie on behalf of Marc Khouzam ***

    Bug 369569: Need JUnit tests for GDB 7.4

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