1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

1306 commits

Author SHA1 Message Date
Marc Khouzam
5892f19747 Update GDB download script for 7.10.1
Also fix a bug where the script was
not ready for a two digit version.

Change-Id: Idd3322c46806705e33898a47c79d3ec3c9fc1685
2015-12-14 07:13:30 -05:00
Sergey Prigogin
6ba479a6f2 Cosmetics
Change-Id: I375dfe970de30bf660d7783c52fb809ecdfd84fe
2015-12-04 10:48:21 -08:00
Sergey Prigogin
2df93034f3 Reverted an erroneous change.
This reverts commit 93438cade8.

Change-Id: I98d351ef120960b79cf969fd63c861cc5dc83825
2015-12-04 12:46:26 -05:00
Sergey Grant
93438cade8 Minor code cleanup.
Change-Id: Id546bda87390aa7501b19ce22b3835858df09e51
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-12-03 18:43:41 -05:00
Sergey Grant
8360f715eb Bug 474648 - Wrong arguments are passed to a program in debug mode
Change-Id: Ie9ab74e0142c10ad43891febf910e2fb49b2ec61
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-12-03 14:43:31 -08:00
Marc Khouzam
56635a1b57 Move @since 4.9 to @since 5.0
Change-Id: I78e8a5652c10e3bf773f6cf92874b121891df4b1
2015-11-27 11:18:33 -05:00
Marc Khouzam
3eb8e4146f Remove deprecated constructor.
The constructor MIThreadGroupExitedEvent(IProcessDMContext, int, String)
has been removed.  MIThreadGroupExitedEvent(IProcessDMContext ctx, int,
MIResult[]) instead.

Change-Id: I1314f63e98b654daab81e30602c14b3e44c7a128
2015-11-25 15:15:41 -05:00
Marc Khouzam
89742720d0 Remove deprecated constructor.
The constructor MITargetAttach(ICommandControlDMContext, String) has be
removed.  MITargetAttach(IMIContainerDMContext, String) or
MITargetAttach(IMIContainerDMContext, String, boolean) should be used
instead.

Correspondingly, the method
CommandFactory.createMITargetAttach(ICommandControlDMContext, String)
was removed.  CommandFactory.createMITargetAttach(IMIContainerDMContext,
String) or CommandFactory.createMITargetAttach(IMIContainerDMContext,
String, boolean) should be used instead.
Change-Id: I2c35f0a7817d135511a851c400d3ad71781afd0c
2015-11-25 15:15:13 -05:00
Marc Khouzam
664185f14a Remove deprecated constructors.
The constructors MIFileExecAndSymbols(ICommandControlDMContext) and
MIFileExecAndSymbols(ICommandControlDMContext, String) where removed.
MIFileExecAndSymbols(IMIContainerDMContext) and
MIFileExecAndSymbols(IMIContainerDMContext, String) should be used
instead.

Change-Id: I1c54599f930430c9640833420256691d01184e76
2015-11-25 15:14:41 -05:00
Marc Khouzam
bf1083842e Remove deprecated classes.
In GDBControl_7_0, the classes InitializationShutdownStep,
CommandMonitoringStep, CommandProcessorsStep, RegisterStep have been
removed; their counterparts, defined in GDBControl, should be used
instead.

Also, the class GDBControl_7_0.ListFeaturesStep now extends
GDBControl.InitializationShutdownStep instead of the removed
GDBControl_7_0.InitializationShutdownStep.

Change-Id: I9365e746ac3cee67abcdc9507dd15e45337a1396
2015-11-25 15:12:26 -05:00
Marc Khouzam
939f543688 Remove deprecated method.
MIVariableManager.MIVariableObject.setExpressionData(String,String,int)
which has been deprecated for over 4 years has been removed.  The method
MIVariableManager.MIVariableObject.setExpressionData(ExpressionInfo,String,int,boolean)
should be used instead.

Change-Id: I3ac346eddd8dc119e725d475481836aa5fbd7d79
2015-11-25 15:11:29 -05:00
Marc Khouzam
65f9144e0f Deprecate method
The method AbstractMIControl.getControlDMContext() has been deprecated.
I has been replaced by ICommandControlService.getContext().  It should
have been deprecated at the same time as when
GDBControl.getControlDMContext() was deprecated, but was forgotten.

Change-Id: Ib568fce51b29455281a3d26b5ace914b9f4dece8
2015-11-25 15:07:20 -05:00
Marc Khouzam
c7a94541e5 Bug 336876: Simplify GDBRunControl_7_2
This will help extend the class for the grouping patch.

Change-Id: I67f392833d6391a97850b184f5c866337dff0aba
2015-11-17 15:12:21 -05:00
Marc Khouzam
7cc28b5400 Bug 480225 - Reduce trace output for "-list-thread-groups --available"
Change-Id: Ief95bb4dc47cb76b40285cd8a809b15f3d0731bf
2015-10-30 16:13:18 -04:00
Marc Khouzam
ca2070f258 Modify properties to make them easier to use.
Also standardize properties names

Change-Id: I4b25f879d8c0b3b1e74b9590905b1a4b0cfe02ca
2015-10-30 13:45:23 -04:00
Marc-Andre Laperle
8b01ed9b2c Add dsf.gdb.tests.timeout.multiplier property to pom.xml
This allows specifying the multiplier on the command line and pass
it along to the tests.

Change-Id: I35cb764a6494a0eb98e5e2205a47522935c2b206
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-26 15:43:10 -04:00
Marc Dumais
139e8a6d96 bug 479039 - Move VisualizerVirtualBoundsGraphicObjectTest to
org.eclipse.cdt.dsf.gdb.multicoreVisualizer.ui.tests

Change-Id: Iceed10c7458aceee2560d6066ec052f85f2d9086
2015-10-06 08:31:40 -04:00
Jonah Graham
cc2099c4a0 Bug 478803 and Bug 478805: add tests for source lookup
Change-Id: If47f62a46164e4098e663f1eef1a0a8640a84009
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-10-01 22:31:39 +01:00
Marc Khouzam
15935286c0 Replace hack to obtain full path
We can obtain the full path of the executable using
File#getAbsolutePath().  This is much better than the hack that was
actually doing a launch to ask GDB where the binary was.

I cannot explain why I didn't use this in the original implementation.

Change-Id: Ifa0d538919cd0c231547f1f3e9c4b72837df4257
2015-09-25 12:59:20 -04:00
Marc Khouzam
d334be2c61 Remove unnecessary API change
Let's keep the same API as what was released on CDT 8.8

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-09-17 10:52:05 -04:00
Marc Khouzam
ea49446476 Bug 477610 - Remove any reference to platform .gif files
Change-Id: I1c9ba791154774f54fa2b56de8859dbbfc1b55a2
2015-09-17 10:26:01 -04:00
Simon Marchi
74e4b6d504 Fix MIMemoryTest.java:asynchronousReadWrite for architectures with fWordSize > 1
Commit 84a53f8d80 broke this test for an
architecture with fWordSize == 2.  The buffer for writing a word went from
length fWordSize to 1, and the expected buffer size of a read as well.
This commit fixes it.

Change-Id: Ie50766031fc7dd8d480f126abc48a6dfd487b9e5
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-09-16 09:44:01 -04:00
Marc Khouzam
be95954cdd Have Debug's automated tests use the new GDB 7.10
Change-Id: I6c2d2aa925b0d54add32ec8d8e8f167d4bdd9b6f
2015-09-03 21:01:12 -04:00
Marc Khouzam
6272b4e523 Bug 476432 - GDB version comparison fails for GDB 7.10
Change-Id: I51366e45deabda29a1a5b00166039bad14a146f8
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-09-03 21:00:54 -04:00
Simon Marchi
f505c21a48 Add version 7.10 to GDB download and build script
Change-Id: I5b58beb4fd628392461ebca55caa0724a154e147
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-08-31 10:49:13 -04:00
Jon Beniston
708d6a6318 Bug 417895. Use tab instead of space between opcode and operand.
This makes the disassembly easier to read.

Change-Id: I5f7d737f321aa05f5056a74af70794ee618f323c
Signed-off-by: Jon Beniston <jon@beniston.com>
2015-08-25 09:11:16 -04:00
Marc Khouzam
03f2299797 Simple changes for Sonar warnings
Change-Id: Idba9a9fcbdb0c606cf8a94bf23ac65aa942a6e5a
2015-08-17 18:50:42 -04:00
Marc Khouzam
d185083407 Simple changes for Sonar warnings
Change-Id: I990473a9c4d86d2aeb8e36b0ac466a15f42329df
2015-08-17 18:50:28 -04:00
Marc Khouzam
20702b3045 Simple changes for Sonar warnings
Change-Id: I6f99d9fa808a52e3b6d925e695ff74424120c4ce
2015-08-17 09:28:43 -04:00
Marc Khouzam
22fb739c9b Simple changes for Sonar warnings
Change-Id: Ic47b9cef191d1f59514327cdb2f612869da12b16
2015-08-17 09:27:51 -04:00
Marc Khouzam
f8292e1bc4 Simple changes for Sonar warnings
Change-Id: I180c828485beccd7944c61a8e58d42b909333a41
2015-08-17 09:27:31 -04:00
Marc Khouzam
dc4b8aaf58 Simple changes for Sonar warnings
Change-Id: I105e0cb90aa64dd7af6ac10a9a74d9e73e932a6f
2015-08-17 08:03:21 -04:00
Marc Khouzam
7a16ca18f5 Fix some trivial sonar warnings
Change-Id: I3da053a5fb4186a8cbbef73f58dc50d8b89bbd8e
2015-08-13 16:12:46 -04:00
Marc Khouzam
0d7432318e Bug 469763 - DSF-GDB top-level service classes for better extensibility
Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-08-10 10:47:49 -04:00
Simon Marchi
6ed3ce5fce MIRegistersTest fixes
- Fix getModelDataForRegisterDataValueInDifferentNumberFormats failure

Nothing seems to set the register we use to do the test to a particular
value.  The value happened to be 0.  This broke the octal test, because
it assumes that the result starts with a 0, but has characters after
that 0.  This is not true when the result is 0.  The fix is to set the
register to a know value beforehand (0x1234).

- Fix compareRegisterForMultipleExecutionContexts for slow targets by
adding missing massageTimeout.

Change-Id: I681acdeb08f8e3c2fdaf8dc9cf60801584da4423
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-08-06 14:47:38 -04:00
Anton Leherbauer
9b8aa0e12c Bug 473352 - [dynamic printf] The default printf format string does not support 64bit addresses
Change-Id: I85a8281d409c3a6d164bdb3434b197ab57c656c9
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-07-28 09:15:56 +02:00
Marc Khouzam
bb50c58c02 Bug 473098 - Reflect tp action changes from while-stepping
The action changes were not immediately shown when changes were done
from the while-stepping action dialog

Change-Id: I36c4b366f0fd97d0a5c939b17eda5e6cd696d89d
2015-07-21 12:58:22 -04:00
Marc Khouzam
2b3d664972 Bug 473098 - Reflect tracepoint action changes
Tracepoint action changes were not immediately reflected in
the list of attached actions.

Change-Id: I6d0ad788d40c69febf2df5226252a7eeabde39b4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-20 16:00:42 -04:00
Marc Khouzam
93df44a4ca Disable remote detach test case for 7.5
With gdbserver 7.5, detaching from a process leaves gdbserver hanging
which prevents the next testcase from running.

We therefore disable the two detach testcases for version 7.5 only.
Note that we cannot simply @ignore the testcases since we want to run
them for the local case, even for version 7.5.

Change-Id: Id4b69420abd1218be5eaf2c54a9f44349283edc2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 15:53:44 -04:00
Marc Khouzam
5028a94396 Disable restart test in case of remote debugging
Change-Id: I08310791fe23c31219ea0e6ae26ea7f0a14eeff7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 08:16:17 -04:00
Marc Khouzam
75a3d71546 Create tests for GDB 7.10
Change-Id: I940f95a73278483d1b21dc8df9cdd41520522959
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-23 16:11:30 -04:00
Simon Marchi
e634076cdf Change way to skip building of gdb doc
Instead of modifying the source files of the documentation, it's cleaner
to replace the invocation to makeinfo to invoke "true". This will skip
building of all the docs.

Change-Id: I33a8ba7e1932433de48ab98d6cda3fda0bb09143
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 15:34:19 -04:00
Simon Marchi
13978c1567 [dsf-gdb] tests: Check if a line tag is defined more than once
As a safety net, fail if a line tag is defined more than once.

Also, allow calling resolveLineTagLocations more than once for a single
test.

Change-Id: I0832d3d28c4d688c38fd33dfc668b0ec6b8c4ffa
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 10:00:17 -04:00
Marc Khouzam
2b21405150 Bug 468192 - Prevent creating a duplicate bp when modifying properties
- Have CBreakpointPropertyPage check if any CBreakpoint already exists
at the specified location
- Have GDBDynamicPrintfPropertyPage check if any CBreakpoint already
exists at the specified location
- Have GDBTracepointPropertyPage check if any CBreakpoint already exists
at the specified location

Change-Id: I67096343a7173a98a144e3577a6b8a05377759e3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-12 16:08:26 -04:00
Jonah Graham
26bef5d321 Bug 317173 - cleanup warnings
- Add generics for ServiceRegistration and ServiceReference
  (added <?>), See Bug 322007 which added generics to OSGI
- Add generics for getAdapter, See Bug Bug 442021
- Fix calls to MessageFormat.format()
- Cross reference some unused/commented out code for dprintf with
  associated @SuppressWarnings("unused")

Change-Id: I4bacb3b37b69c97ab35615413f0f1f3e71aa2092
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-11 10:53:35 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Jonah Graham
8282a1767e Bug 469007: Reference MIExpressionsNonStopTest in test suites
Change-Id: If29de1ee2941a2bb3cb5c27dd9a61741b76165e6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-01 15:08:22 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Marc Khouzam
0ec42e99dd Bug 466492 - Remove console when removing exited processes
Change-Id: I029c89d81fc0f0e96dc8f3b160ea5286b0adb5ba
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-15 10:25:45 -04:00
Marc Khouzam
fe51f92804 Update GDB download script for version 7.9.1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-13 15:36:23 -04:00