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

25247 commits

Author SHA1 Message Date
Marc Khouzam
e977bb4953 Bug 472765: Add extra sourceLookup test
Change-Id: I98c11a2f4e231d6bc0e0bb53ea1e0b3465c9a976
2016-03-18 06:30:41 -04:00
Sergey Prigogin
483bd0e7d6 Bug 489896 - Bogus syntax error with designated initializer.
Change-Id: Iedd4e392833471c37c8e6440553178122f499635
2016-03-17 19:54:01 -07:00
Sergey Prigogin
50ae3ff6a8 Cosmetics.
Change-Id: I7a5e70d05316a74be6b0abe042f8415447563a7e
2016-03-17 20:15:19 -05:00
Alena Laskavaia
26d87d7b74 removing API for custom preference listeners in codan
- this is replaced by eclipse preference listeners framework

Change-Id: Ia39041c79c643912c883d7fdf507aeb252f13ddc
2016-03-17 15:12:14 -04:00
Marc Khouzam
7856453f30 Bug 488909: Unify services factory classes to extend more easily
From org.eclipse.cdt.debug.gdbjtag.core, constructor
GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String)
has been replaced by
GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String,
ILaunchConfiguration)

From org.eclipse.cdt.dsf.gdb, constructor
GdbDebugServicesFactory.GdbDebugServicesFactory(String)
has been replaced by
GdbDebugServicesFactory.GdbDebugServicesFactory(String,
ILaunchConfiguration)

From org.eclipse.cdt.dsf.gdb, class GdbDebugServicesFactoryNS has been
removed and its logic was merged into class GdbDebugServicesFactory

Change-Id: Ifecba752cfc12da62f1447027b11c0bb1f7c0171
2016-03-17 14:31:45 -04:00
Alena Laskavaia
6aefe76491 gdb catchpoints registers tests cleanup
Change-Id: Ibea6071b9b8e07f63508e177fabf8e60da5c0a08
2016-03-17 09:24:39 -04:00
Sergey Prigogin
f838c07db6 Code streamlining.
Change-Id: I7a90e1b97d65813c80a52dfc36fc368bc20a7399
2016-03-16 22:42:37 -05:00
Sergey Prigogin
7c859a9b92 Cosmetics.
Change-Id: If2aa971a6480e079487d7856290f59ec67459993
2016-03-16 19:58:45 -07:00
Sergey Prigogin
ec7d830f4b Made couple frequently used methods final.
Change-Id: Ife83a856271a3aa6056f2fec8d02ab515611b4ab
2016-03-16 19:58:44 -07:00
Sergey Prigogin
4b31af20b1 Removed deprecated ICPPQualifiedName.getNames() method.
Change-Id: I6e84cba6c56fe5467205ef85e24035e6b2e86f50
2016-03-16 19:58:43 -07:00
Sergey Prigogin
31e3379235 Bug 489710 - Name resolution problem with inherited constructor
Change-Id: Ic2a090a79e9d4414217e5f8f15ee70a64bb77885
2016-03-16 19:58:42 -07:00
Jonah Graham
a29e37cffc Bug 484900: Cleanup of CSourceLookupDirector post CDI removal
CSourceLookupDirector is internal and had a number of methods only
referenced from CDI.

Change-Id: Ia3052ee5f7009f68984e7b02e7785d76c2c15b0d
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-16 22:42:33 -04:00
Jonah Graham
6283890715 Bug 472765: Use gdb's "set substitute-path from to"
Add support for gdb's "set substitute-path from to" by adding a new
service called GDBSourceLookup that uses GDB to perform the path
mapping.

The new GDBSourceLookup service uses the new GdbSourceLookupDirector to
get the set of paths that need mapping using GDB's "set
substitute-path" and the director resolves compilation path differently
so as to leave the GDB backend to handle the local path to compile path
resolution.

The MappingSourceContainer has been enhanced to allow a per mapping
container override of the new behaviour. This is a fallback as the
default behaviour when using GDB is to use "set substitute-path".

The MappingSourceContainerDialog exposes the new option in
MappingSourceContainer as a checkbox at the bottom of the path mapping
dialog in a backend agnostic way.

The new code is tested in methods called "sourceSubstitute*" and
mirror the same tests for the now non-backend handled version
which are "sourceMapping*". Note that
doMappingAndLaunch/doSubstituteAndLaunch have been updated to explicitly
check or uncheck the setIsMappingWithBackendEnabled setting

Change-Id: I122d7c597cd461d8e38c4f82522ccfdf9e51a5ba
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-16 22:30:51 -04:00
Sergey Prigogin
315fc0f5ef Cosmetics.
Change-Id: I307cff37a52a60606d150b708d53adfcb3c456e3
2016-03-16 17:38:01 -07:00
Alena Laskavaia
b3f03996de parameterized tests gdb tests
this commit to introduce a test harness that allow
to reduce SIGNIFICALLY duplication of test per gdb version.
Tests is now parameterized with version and type (gdb vs gdbserver).
This commit flattens on of the tests as example rest is still 
using an old way.

Parameters are defined externally now via Java variable like this
 -Dcdt.tests.dsf.gdb.versions=gdb.7.7,gdbserver.7.7,gdb.7.11

Change-Id: I855449afba40e265c542dc5de7a3562548c97e8b
2016-03-16 16:51:17 -04:00
Marc Khouzam
df63a59b53 Remove o.e.cdt.core.linux.ai64 and o.e.cdt.core.qnx
Remove the entire two plugins and the two references I could find to
them.

Change-Id: I0ab7f24503b737f5cf711616a1eabd1f59d092f0
2016-03-16 13:13:33 -04:00
Alena Laskavaia
bb0ba6fd91 Bug 489455 - Add new breakpoint action to run arbitrary debugger command
This is generic support for debugger commands though mi console bridge,
should be not gdb specific (have a simple gdb implementation though)

We add new breakpoint action called "Debugger Command"
Interface allows to enter arbitrary string(s)
This is interpreted by debugger as it see fit
For gdb implementation these are cli commands


Change-Id: I20ca0b8b094c724e1cf8b0691f4f6cab84a3737d
2016-03-16 11:24:20 -04:00
Alena Laskavaia
76c4c117c4 adding repeater to some intermittent tests
Change-Id: Idd1610e9c753951a974e336a65441b752e667e00
2016-03-15 14:32:01 -04:00
Marc Khouzam
9fcf731caa Missing @since tag
Change-Id: I96a054aa3c8806bfa642184084a82e33d25bb0ae
2016-03-15 09:56:03 -04:00
Alena Laskavaia
d8a5d3cc0e Bug 489553 - ConcurrentModificationException below
MapProblemPreference.clone

Change-Id: If80417f386890495961745d13b3ad16040677e2e
2016-03-15 08:57:52 -04:00
Sergey Prigogin
6a7969bc85 Removed deprecated ICPPBase.getBaseClassSpecifierName() method.
Change-Id: I7a846bf9f91193bd74ea8ae006a35159e47a7367
2016-03-15 00:07:23 -04:00
Sergey Prigogin
b50f68c053 Removed few deprecated *_last constants.
Change-Id: I62de6fbb05d2b707147e851126d486c1e943e120
2016-03-15 00:06:58 -04:00
Sergey Prigogin
5423c9437b Removed deprecated methods from IASTPreprocessorMacroDefinition.
Change-Id: I95e918c6103a4876361971a8d3beca1e7d2a1773
2016-03-14 23:54:55 -04:00
Sergey Prigogin
44e0370d76 Marked deprecated APIs with @noreference tags to be able to remove them
later.

Change-Id: I7ca0a396d3080c30d8dad70717d85bb0b973b01a
2016-03-14 23:54:42 -04:00
Sergey Prigogin
3199dc91bf Removed IASTBinaryExpression.op_last.
Change-Id: Ib0fbe7eb791c2e740441a644d4042662f947926c
2016-03-14 20:47:09 -05:00
Sergey Prigogin
f1944d2d7f Marked deprecated APIs with @noreference tags to be able to remove them
later.

Change-Id: I8438401eeffe7591daf405786c1e94d40d10290c
2016-03-14 17:56:45 -07:00
Sergey Prigogin
7ad8329300 Removed unused deprecated methods from I*NodeFactory API and changed the
deprecated methods still being used by lrparser to be internal.

Change-Id: Id5635443360c9be20c714be5d3d92bbf46ee9da3
2016-03-14 17:21:17 -05:00
Wainer dos Santos Moschetta
880b1b606a Bug 467771 - add basis to support autotools option as NAME=VALUE
It is not obvious in autotools preferences UI how to set variables like CC=/sbin/gcc
Introduces the basis to allow extend the UI to include such as kind of variables.

Change-Id: Ife0aada50d8c253f3fff39e7087f5fd54803ba48
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2016-03-14 17:20:50 -04:00
Sergey Prigogin
9d492879be Removed deprecated methods.
Change-Id: I2bcbab9c93767451b8649963daabb9ea6259c683
2016-03-14 17:13:07 -04:00
Marc Khouzam
f326794be8 Remove old releng plugin
Change-Id: Ife92ba22813115cb028db273c399c03e235f7cb2
2016-03-14 16:16:27 -04:00
Jesper Eskilson
1d09e0e2af Added property page for CMake projects
Currently only contains a button for launching the CMake GUI
(cmake-qt-gui), but we might want to put other things in here as well.


Change-Id: Ia89ad409eaad17a170cf1e2f1cd4fb31a7d678e2
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2016-03-14 16:08:35 -04:00
Jesper Eskilson
eac2f92bb4 Fixed warnings: do not call MessageFormat#format(...) with String[].
Change-Id: I3da681e323cfeb0c1c07a669183e6d1d18ca6ff6
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2016-03-14 13:41:59 -04:00
Marc Khouzam
d11328fb9c Remove p2 plugin
Change-Id: I5a2dcb281c8d3596aca97c0df0f2cc76997a39fa
2016-03-14 10:19:21 -05:00
Alena Laskavaia
2cf32973cc InterimittentRule generic junit rule
Change-Id: I375ed04cb6c44f6c923d048523c008b28883700d
2016-03-14 09:32:00 -04:00
Marc-Andre Laperle
7abda712d9 Fix broken Oomph setup
- Add bouncycastle dependencies explicitly with exact version
to work around bug 489387
- Add missing dependencies (templates, remote launchbar)
- Remove Mars stream that won't compile anymore

Change-Id: I0ce53da4691297895876db069cefdf5287b82617
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-03-12 19:38:43 -05:00
Sergey Prigogin
2f32c523f5 Cosmetics. 2016-03-11 19:10:12 -08:00
Sergey Prigogin
6009665334 Bug 489468 - Extract Function creates illegal declaration in .h when
there is a using statement in the .cpp for an argument type

Change-Id: Ie54ce13b434bab21f96b0c6bb7347846d52314e0
2016-03-11 17:47:46 -05:00
Sergey Prigogin
1a0c51205e Bug 488904 - Performance regression of code completion due to parameter
guessing

Code cleanup.

Change-Id: Idf8fadddef683bd1161a0d60333e47cd2437d730
2016-03-11 17:34:13 -05:00
Sergey Prigogin
9240257992 Cosmetics.
Change-Id: If6660920227beedfa8d2c39c3e24cf1bd6454d5e
2016-03-11 17:33:53 -05:00
Sergey Prigogin
4a9287acb5 Remove use of deprecated methods.
Change-Id: Id14e9948dc30a998adad463e338dc86df109e315
2016-03-11 16:45:54 -05:00
Sergey Prigogin
6386496e21 Minor cleanup.
Change-Id: I75888180972f3e4f9c5cf1088c9347b1e6fd0b27
2016-03-11 15:52:12 -05:00
Mario Pierro
adbed0ba76 Bug 302305 - Added a timeout to queries which are run more frequently.
Change-Id: I3d3cf27c6f7fda7171633b9e70d26c4d3a89e2dd
Signed-off-by: Mario Pierro <mario.pierro@iar.com>
2016-03-11 10:10:06 -05:00
Marc Khouzam
6a61206d08 Bug 484900: Remove old process prompter
Change-Id: Ia7ca64fd97acf837e15194b60ee9f29091a53150
2016-03-10 05:30:15 -05:00
Sergey Prigogin
b2db38b873 Removed redundant type arguments.
Change-Id: Id238b37fb6852e9998b9aa3f4fd9f5e8d7f54bd6
2016-03-09 05:24:49 -08:00
Sergey Prigogin
a045063cea Removed redundant type arguments.
Change-Id: I96e07fd9e0fdb628db449bbf54385abe68fccced
2016-03-08 21:19:14 -05:00
Jonah Graham
ff7f25b94d Bug 484900: Remove Majority of CDI classes
This is the first change to remove CDI from CDT. The CDI model
implementation is removed along with everything that directly
depends upon the implementation.

This commit does not include refactoring or moving classes. The few
insertions are the minimum necessary.

Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-08 19:18:05 -05:00
Marc Khouzam
219cf56e7f Bug 478740: Improve overriding of GDBProcesses service
This also propagates the fix to Bug 487144 to GDB 7.10, which we had
missed.

Change-Id: I1b1819d40a43e6667d2e0a0fdb4045b1a000a086
2016-03-07 07:24:49 -05:00
Marc Khouzam
1f3ff86ea0 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-03-06 16:56:01 -05:00
Marc Khouzam
bf52a46a9d Revert "Bug 478740: Improve overriding of GDBProcesses service"
This reverts commit 2cd56f2ca9
Review number: 67852.

It was committed by mistake.

Change-Id: Ic6f567b0230e159eafeb2da3cab4255f7372104b
2016-03-05 06:03:43 -05:00
Marc Khouzam
d47fc9be4e Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-03-05 06:01:33 -05:00