1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
Commit graph

107 commits

Author SHA1 Message Date
Marc Khouzam
a0c59da5c4 Some tests got commented out by mistake. 2010-10-01 02:21:34 +00:00
Marc Khouzam
a1a288b3fc Timeout of 10 seconds should be waiting for the suspended event. 2010-10-01 02:20:26 +00:00
Marc Khouzam
6559679143 Bug 320277: More JUnit test to make sure we properly view variables of base class in derived class 2010-09-09 20:34:31 +00:00
Marc Khouzam
ffd8caf56d Bug 320277: JUnit test to make sure we properly view variables of base class in derived class 2010-09-09 12:34:11 +00:00
Marc Khouzam
12d6c482ed It makes more sense to run the most recent GDB versions first. 2010-09-03 15:11:14 +00:00
Marc Khouzam
0070cb3914 Bug 248595: Add support pending breakpoints introduced in GDB 6.8. This allows to set breakpoints in dlls before they are loaded. Note that the installation marker does not get updated after the breakoint is first set. 2010-08-26 17:58:47 +00:00
Marc Khouzam
ba0437069d Bug 315677: The getNumChildren() method was not actually used and was causing some inefficiency, so we deprecate it in favor of hasChildren() and getSubExpressionCount(). Also fix the JUnit tests accordingly. 2010-06-25 15:44:57 +00:00
Marc Khouzam
b1aa24fe34 Bug 317223: Disable two tests for GDB 6.6 since they depend on -var-info-path-expression, which is only supported starting with GDB 6.7 2010-06-17 17:42:56 +00:00
John Cortell
6277487b53 Bug 315845: Intermittent race-condition failure in MIMemoryTest.asynchronousReadWrite() 2010-06-15 21:13:45 +00:00
Marc Khouzam
8c5a9f0d91 Bug 315784: Support to test with GDB 7.1 and 7.2 2010-06-04 15:46:37 +00:00
Marc Khouzam
6dd4a791d3 assertEquals should have its first parameter be the expected value. 2010-06-04 15:20:08 +00:00
Marc Khouzam
61bf17193d assertEquals should have its first parameter be the expected value. 2010-06-04 14:45:18 +00:00
Marc Khouzam
1e1508c33c Missing space 2010-06-04 14:42:27 +00:00
John Cortell
aaf7b3dfbb Previous commit caused test failures with gdb 6.8 due to a breakpoint hit not being generated when using SyncUtil to set the breakpoint. Avoid using SyncUti for setting a line breakpoint. Also some refactoring to reduce clutter and code duplication. 2010-06-03 18:43:26 +00:00
Vivian Kong
0ac162a821 Bug 315439 Fix up copyright 2010-06-02 19:27:16 +00:00
John Cortell
1ee7bff8d5 Added test for interrupt 2010-06-01 19:18:33 +00:00
John Cortell
ae33c729a7 Missing asterisk in javadoc comment 2010-06-01 19:02:34 +00:00
John Cortell
f001fc32d0 Fixed intermittent test failure caused by buggy test. A breakpoint hit can arrive after SyncUtil.resumeUntilStopped() returns. The test needs to call waitForBreakpointEvent() afterwards. 2010-06-01 18:44:26 +00:00
John Cortell
429c116b18 Stop trying to side-step the fact that on Windows interrupting the target can leave it suspended prematurely, only to have it suspend again when you resume it. My previous attempt worked only some of the time. Trying to close the gap would be way too messy, so just skip the "while target running" tests on Windows. 2010-06-01 18:07:55 +00:00
John Cortell
0874a4a973 Don't wait forever 2010-05-28 20:49:52 +00:00
John Cortell
18f37c3ccf Bug 314174: Eliminate the 1s wait at start of each DSF-GDB test. (Avoid possible NPE when a test fails) 2010-05-28 19:12:27 +00:00
Marc Khouzam
69444100a5 Bug 314628: Always restore the target state even if a failure has happened. 2010-05-28 18:48:01 +00:00
John Cortell
ca9f612e04 Incorrect usage of the special wait function in two places. 2010-05-27 22:56:38 +00:00
John Cortell
0ad079da76 Memory tests were failing with gdb 7.0. Marc's hunch was right. Use of UNIQUE_PROCESS_ID was the problem. 2010-05-27 22:31:26 +00:00
John Cortell
17f248d072 Bug 314174: Eliminate the 1s wait at start of each DSF-GDB test. 2010-05-27 22:11:53 +00:00
John Cortell
4972e64775 Adjust to the new dual POSIX/MSVC buildable MultiThread.cc. Also fix problems in the registers test 2010-05-27 21:20:45 +00:00
John Cortell
87aa0351e6 Bug 314174: Eliminate the 1s wait at start of each DSF-GDB test. 2010-05-27 21:08:28 +00:00
John Cortell
abef64cb07 Make dsf-gdb test programs buildable with MinGW. MinGW gdb has problems debugging a cygwin-built executable, so we need to build the test apps with MinGW when testing that debugger. Confirmed these modified files now build with both Cygwin and MinGW. 2010-05-26 19:38:11 +00:00
John Cortell
af21820551 Various expression tests where failing on Windows because of subtle differences in the compiler and the line tables it generates, and perhaps scoping behaviors. The code would end up on the trailing brace of a function, and all variables are out of scope there. 2010-05-25 23:01:40 +00:00
John Cortell
da1f29806f Don't use the junit timeout feature. It's too rigid and is a pain when troubleshooting issues. 2010-05-25 22:47:12 +00:00
John Cortell
85162ebd30 Don't use the junit timeout feature. It's too rigid and is a pain when troubleshooting issues. 2010-05-25 22:45:29 +00:00
Marc Khouzam
30849ec0ce Better use of container context 2010-05-12 13:23:44 +00:00
Marc Khouzam
9b222a1f27 Better error printout 2010-04-29 18:35:34 +00:00
Marc Khouzam
39668b20a5 Small enhancement to get the containerDmc in the unit tests 2010-04-29 14:21:47 +00:00
Marc Khouzam
0bd05a8dbc Bug 310565: Support for new format for Apple GDB. 2010-04-27 19:08:40 +00:00
John Cortell
e776528588 [306427] Remove obsolete catchpoint types from CDT 2010-04-12 19:01:24 +00:00
John Cortell
92f88c096c Centralize new method to get heavyweight process context 2010-04-12 15:57:59 +00:00
John Cortell
da04759802 Neglected to spin off the service call in getProcessContext() on the dsf executor 2010-04-09 22:55:26 +00:00
John Cortell
cbdc8d81d3 For the stop on main breakpoint (a temporaro breakpoint) gdb 7.0 reports the stopped event with a reason=breakpoint. It provides no reason in gdb < 7.0. 2010-04-09 22:44:45 +00:00
John Cortell
ed5b124ce7 Use run control service to get the actual process context. Fixes tests with MinGW 7.0. Also, had to adjust two tests to not assume threads are reported in a particular order 2010-04-09 18:05:08 +00:00
John Cortell
119d848c62 [305752] Moved gdb event breakpoint constants into new common gdb plugin as well as the registering of the event types (via an extension) 2010-04-08 20:02:35 +00:00
John Cortell
7c92312b57 minor. wrong cathcpoint type specified, but catchpoint creation is supposed to fail in this case anyway. 2010-04-08 14:53:17 +00:00
John Cortell
080bcc692d Corrected argument order; error message is misleading, otherwise. 2010-04-07 19:49:00 +00:00
Marc Khouzam
8a2cae3b45 [248587] Added new catchpoint JUnit tests to test suites. 2010-04-07 18:39:56 +00:00
John Cortell
367979ea80 [248587] Support "Event' Breakpoints 2010-04-06 20:01:42 +00:00
John Cortell
57c6ba5fec [248587] Support "Event' Breakpoints 2010-04-06 19:32:14 +00:00
John Cortell
4ec5b596be Specify dwarf2 debug info. Default for 3.x is STABS, and that is an inferior format. At a minimum, C++ exception catchpoints don't work, and there is a class that tests them. 2010-04-05 17:38:41 +00:00
John Cortell
983dc28f18 Fixed inappropriate reference comparison. Should be a deep comparison (using equals method). 2010-03-31 20:00:58 +00:00
John Cortell
8b280845e4 Test case had coding goof. Incremented and checked wrong iterator variable, leading to early termination of the test. 2010-03-31 19:45:52 +00:00
John Cortell
56a2799dc0 javadoc enhancement 2010-03-29 16:00:01 +00:00