1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/dsf-gdb
Simon Marchi 6edff928a1 debug tests: Disable some reverse tests for gdb 7.0 and 7.1
The following tests fail with gdb 7.0 and 7.1:

  - testStopAtMainWithReverse(Restart)?
  - testStopAtOtherWithReverse(Restart)?

The reason is that execution crosses getenv() while recording is
enabled. gdb has some trouble with that, and outputs an error such as:

	warning: Process record ignores the memory change of instruction at address 0x7ffff7de951f because it can't get the value of the segment register.
	warning: Process record ignores the memory change of instruction at address 0x7ffff7de9576 because it can't get the value of the segment register.
	Process record doesn't support instruction 0xfef at address 0x7ffff7a9e5e2.
	Process record: failed to record execution log.

	[process 6993] #1 stopped.
	0x00007ffff7a9e5e0 in strlen () from /lib/x86_64-linux-gnu/libc.so.6

We could either make the test "easier" to make it pass on those gdb
versions, or disable it for those gdb versions. By "easier", I mean just
execute some simple arithmetic instead of some calls to libc.

I think it is counter-productive to reduce the span of the tests just to
make some old gdb versions happy, so I chose to disable it for those.
Actually, the best would be to write a new test which covers less but
passes for all versions.

Change-Id: I98499fbb5c099232bc39dad3906d7348912b89af
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/38735
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Hudson CI
2014-12-23 16:26:07 -05:00
..
org.eclipse.cdt.dsf.gdb Revert "Bug 451929 - Leverage p2 ability to express native packages" 2014-12-23 00:05:47 -05:00
org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui Bug 453206 - [visualizer] update access modifiers to permit extension to 2014-12-12 13:08:34 -05:00
org.eclipse.cdt.dsf.gdb.tests Bug 455237 - Move VisualizerVirtualBoundsGraphicObjectTest to 2014-12-16 13:29:46 -05:00
org.eclipse.cdt.dsf.gdb.ui Bug 455537 - Allow to override LaunchVMProvider 2014-12-17 15:17:25 -05:00
org.eclipse.cdt.examples.dsf.gdb Bug 441277 - Fix colliding tab ids in example plugin that extends 2014-12-18 16:14:21 -05:00
org.eclipse.cdt.gnu.dsf-feature Inremented feature version to 8.5. 2014-07-21 17:07:12 -07:00
org.eclipse.cdt.gnu.dsf.source-feature Inremented feature version to 8.5. 2014-07-21 17:07:12 -07:00
org.eclipse.cdt.gnu.multicorevisualizer-feature Inremented feature version to 8.5. 2014-07-21 17:07:12 -07:00
org.eclipse.cdt.tests.dsf.gdb debug tests: Disable some reverse tests for gdb 7.0 and 7.1 2014-12-23 16:26:07 -05:00