1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Find a file
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
build Revert "Bug 451929 - Leverage p2 ability to express native packages" 2014-12-23 00:05:47 -05:00
codan Bug 447486 - codan - CCE is thrown by control flow graph builder 2014-12-14 13:09:13 -05:00
core Bug 456099 - Renaming a class should also rename related files 2014-12-23 10:30:31 -08:00
cross Revert "Bug 451929 - Leverage p2 ability to express native packages" 2014-12-23 00:05:47 -05:00
debug Revert "Bug 451929 - Leverage p2 ability to express native packages" 2014-12-23 00:05:47 -05:00
doc Update to new CDT Logo 2014-12-16 13:29:12 -05:00
dsf Update to new CDT Logo 2014-12-16 13:29:12 -05:00
dsf-gdb debug tests: Disable some reverse tests for gdb 7.0 and 7.1 2014-12-23 16:26:07 -05:00
jtag Update to new CDT Logo 2014-12-16 13:29:12 -05:00
launch/org.eclipse.cdt.launch Bug 437392 - Remove LaunchBar from CDT repo. 2014-12-15 14:13:45 -05:00
llvm Update to new CDT Logo 2014-12-16 13:29:12 -05:00
lrparser Update to new CDT Logo 2014-12-16 13:29:12 -05:00
memory Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
p2 Update to new CDT Logo 2014-12-16 13:29:12 -05:00
qt Revert "Bug 451929 - Leverage p2 ability to express native packages" 2014-12-23 00:05:47 -05:00
releng Update to new CDT Logo 2014-12-16 13:29:12 -05:00
remote Bug 449224 - Fix for NLS'd plugin and 2014-10-29 13:44:12 -04:00
testsrunner Add missing arg for jacoco in in tests. Update jacoco. 2014-08-28 15:40:26 -04:00
upc Update to new CDT Logo 2014-12-16 13:29:12 -05:00
util Update to new CDT Logo 2014-12-16 13:29:12 -05:00
visualizer Bug 453227 - [visualizer] VisualizerView: view menu not refreshed when 2014-12-12 14:24:26 -05:00
windows Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
xlc Update to new CDT Logo 2014-12-16 13:29:12 -05:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml Bug 441277 - Provide an example plugin to show how to extend DSF-GDB 2014-12-18 12:32:59 -05:00