Community
Participate
Working Groups
The Registers JUnit tests fail when using GDB 7.2. This is because the new GDB lists more registers than the previous version.
Created attachment 187375 [details] Fix Fixed by updating the list of registers to match what gdb returns in version 7.2
Committed to HEAD. John, can you check if the JUnits test now work with GDB 7.2 on Windows. (No hurry) I think you can get MinGW GDB 7.2 at http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GDB/ The entire Suite_7_2 should pass except two tests in Expressions which we don't have a fix for yet. Thanks
*** cdt cvs genie on behalf of mkhouzam *** Bug 326878: Registers JUnit test fail with GDB 7.2 [*] MIRegistersTest.java 1.9 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIRegistersTest.java?root=Tools_Project&r1=1.8&r2=1.9 [*] MIRegistersTest_7_2.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_2/MIRegistersTest_7_2.java?root=Tools_Project&r1=1.1&r2=1.2
(In reply to comment #2) > The entire Suite_7_2 should pass except two tests in Expressions which we don't > have a fix for yet. I ran it multiple times and it passes except the two tests but once I got an error in MIMemoryTest.asynchronousReadWrite but I can't reproduce it right now.
(In reply to comment #4) > (In reply to comment #2) > > The entire Suite_7_2 should pass except two tests in Expressions which we don't > > have a fix for yet. > > I ran it multiple times and it passes except the two tests but once I got an > error in MIMemoryTest.asynchronousReadWrite but I can't reproduce it right now. Thanks M-A! I would like to encourage this behavior. If you can run tests or verify fixes, although I can't put you as an official reviewer, your help is very valuable.
(In reply to comment #5) > Thanks M-A! I would like to encourage this behavior. If you can run tests or > verify fixes, although I can't put you as an official reviewer, your help is > very valuable. Sure! Feel free to CC me. BTW, it looks like python is supported now in MinGW's gdb, I see gdb-python27.exe! I'll give that a try.
Looks good.