1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
Commit graph

752 commits

Author SHA1 Message Date
Jonah Graham
cedcf7655b Bug 472765: more complete tests for source path mapping
Add some more tests for source path mappings to ensure that the upcoming
change of using gdb's set substitute-path does not regress any issues.

Change-Id: I9067c8859293c3332439679cb1f663e36a4cc34e
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-06 12:46:20 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -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
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
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
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
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
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
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Simon Marchi
cb16665cc7 Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.

By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.

Screenshot of before/after:
	http://i.imgur.com/Sx5ZPfO.png

It is still impossible to edit the value, but this would be addressed in
another patch.

Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-04 16:03:18 -04:00
Marc Khouzam
d533adec3c Bug 407340 - Keep showing in the Debug view a process that has exited
Change-Id: Ib4a1c80d99b1a311c781ea1f481943982cdf0cbd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 15:41:58 -04:00
Marc Khouzam
1ac11fc4bf Bug 463975 - Show exit code in console when doing a Run
Change-Id: I97fe993e33f1774133aa7cfd488e6e549dae2e0a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:27:01 -04:00
Marc Khouzam
2c70025486 Wrong error code used.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 11:41:06 -04:00
Marc Khouzam
bd66f35865 Bug 464636 - Modernize Run launch
Change-Id: I1c7a4cbbcd00f3967fe9cdbc1fc4b6e0b4d4d14f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:17:51 -04:00
Marc Khouzam
0c2af8d5ce Bug 464056 - Wrong exit code returned in some multi-process cases
Change-Id: I71c3aca8c8c98494408d2a7677d2837768592b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 15:51:26 -04:00
Marc Khouzam
7320ded57d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:49:48 -04:00
Marc Khouzam
230a67daa5 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:30:09 -04:00
Marc Khouzam
da1993169d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 10:37:35 -04:00
Marc Khouzam
d071e969b7 Bug 462623: Split GdbAdapterFactory to allow overriding
Change-Id: Icb9b8d03c070afa8bdea5218d5d4a1aad5d86ebb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-17 11:24:08 -04:00
Marc Khouzam
7c8b2459d5 Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:36:20 -04:00
Marc Khouzam
39fa80d9de Update to use generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:19:11 -04:00
Marc Dumais
9ea9dd867c Bug 464184 - Update GDBHardwareAndOS service to take advantage of GDB
providing CPU/core info

Change-Id: I9d6ce989d9b71e7dd83f3d395da972d43486345c
2015-04-10 14:51:28 -04:00
Marc Khouzam
db8179004f Bug 463977 - Exit code not always displayed in console
Change-Id: I6342cd55530eeb1ea9faf52cd26884065f069ebd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-09 15:16:19 -04:00
Marc Khouzam
b31476c87b Address minor review comments from review 41198
Change-Id: I8d5ddd9426babd0577e1f8fb5e4fdb6b7b7dfbe3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-07 03:00:58 -04:00
Vladimir Prus
1502c78cd6 Expose raw varobj fields in MIVariableObject.
Presently, the field from MI are parsed in MIVar, then copied to
MIVariableManager.MIVariableObject, and then to ExprMetaGetVarInfo.
As result, although MI allows additional fields, a custom IDE cannot
access them, even though all of the above classes are in dsf.gdb
package.

This package firstly eliminates some code duplication, and then make
raw MITuple be propagated along the chain.

Change-Id: I57436fef65aaaf4805422df34466d10f2a205920
2015-04-06 20:51:54 +03:00
Marc Khouzam
9f27d7cc20 Bug 435144: Fix bp for GDB 7.0 and 7.1
Change-Id: Ia84bc47ff1b5711f2e27700c5b3356b73a704256
2015-03-27 11:42:43 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Mikhail Khodjaiants
3c13a71017 Revert "Bug 462988 - Register grouping should work with different implementations of IRegisters service"
This reverts commit 404c093923.
2015-03-24 15:23:43 -04:00
Mikhail Khodjaiants
404c093923 Bug 462988 - Register grouping should work with different
implementations of IRegisters service
2015-03-24 15:16:38 -04:00