sdk/ide/org-eclipse-cdt.git
9 years agoFollow-up on bug 439631 - escape also the path for function dynamic printf
Anton Leherbauer [Thu, 23 Jul 2015 14:07:13 +0000 (16:07 +0200)]
Follow-up on bug 439631 - escape also the path for function dynamic printf

9 years agoBug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
Nathan Ridge [Sat, 25 Jul 2015 21:23:46 +0000 (17:23 -0400)]
Bug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
called constructor via an implicit name

Change-Id: I8c1baf0bbe71d748e3849619613a74ea892db6ee
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - During binding resolution, replace virtual methods with
Nathan Ridge [Sun, 19 Jul 2015 06:17:15 +0000 (02:17 -0400)]
Bug 86654 - During binding resolution, replace virtual methods with
their final overrider where appropriate

Change-Id: I5d6ef9ca5cf8dd4461255ef59ee3384f5060ee4e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472615 - Instantiate alias template found as binding for template-id
Nathan Ridge [Thu, 16 Jul 2015 08:08:08 +0000 (04:08 -0400)]
Bug 472615 - Instantiate alias template found as binding for template-id
in expression

Change-Id: I51aced984cfe87d4b2f2d4ebe359d65ce2845b6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 389191 - NPE in CDocHover.getHoverInfo()
Nathan Ridge [Sat, 18 Jul 2015 06:24:04 +0000 (02:24 -0400)]
Bug 389191 - NPE in CDocHover.getHoverInfo()

Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - Cache final overrider maps in the AST
Nathan Ridge [Sun, 19 Jul 2015 02:29:21 +0000 (22:29 -0400)]
Bug 86654 - Cache final overrider maps in the AST

Change-Id: I33d79c160b7aa7b014042ea06e0b851abc9cb608
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 86654 - Extract the final overrider analysis used by
Nathan Ridge [Sun, 19 Jul 2015 02:21:55 +0000 (22:21 -0400)]
Bug 86654 - Extract the final overrider analysis used by
SemanticQueries.getPureVirtualMethods() so it can be reused

Change-Id: I5a48bdc3111ac75f2c1ca4f5595fe86defd686b8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 393717 - Have constructor definitions reference implicitly called
Nathan Ridge [Fri, 24 Jul 2015 01:47:19 +0000 (21:47 -0400)]
Bug 393717 - Have constructor definitions reference implicitly called
base constructors via implicit names

Change-Id: Ib42a44488c5f5851a227295f075f028ff1aa7ded
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472950 - Account for the possibility of statements inside
Nathan Ridge [Sat, 18 Jul 2015 05:28:00 +0000 (01:28 -0400)]
Bug 472950 - Account for the possibility of statements inside
expressions in some of the parser's heuristic checks

Change-Id: Ia91a00b91e0050838e990d1daad81b524816f8d0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 460953 - SetCrossCommandWizardPage does not check for 'null' in
Alena Laskavaia [Tue, 21 Jul 2015 00:37:20 +0000 (20:37 -0400)]
Bug 460953 - SetCrossCommandWizardPage does not check for 'null' in
result for dialog.open()

Change-Id: I8bc947e5f72891138cd41fd781d5839d09381c51

9 years agoCosmetics.
Sergey Prigogin [Thu, 23 Jul 2015 05:12:24 +0000 (22:12 -0700)]
Cosmetics.

9 years agoReplaced impossible instanceof check in ASTQueries:
Thomas Corbat [Wed, 22 Jul 2015 06:50:11 +0000 (08:50 +0200)]
Replaced impossible instanceof check in ASTQueries:

It does not make sense for findTypeRelevantDeclarator to check whether
the innermost declarator (result) is of type IASTArrayModifier:
- There is no common subtype of IASTDeclarator and IASTArrayModifier.
- IASTArrayModifier are attached to IASTArrayDeclarators but they are
not resolved as nested declarators.
- Similar to the existence of pointer operators, the resolution of the
innermost type relevant declarator should stop at array declarators.

Change-Id: I9c3673f60a48245eb51ccc8cb94757b87abf0265
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
9 years agoCleaned up random number generation in DSF examples.
Jesper Eskilson [Wed, 24 Jun 2015 07:28:53 +0000 (09:28 +0200)]
Cleaned up random number generation in DSF examples.

Fixed two FindBugs problems: (1) doing Math.abs(random.nextInt()) (which
may be negative if nextInt() returns Integer.MIN_VALUE), and (2)
creating a new Random() object for each nextInt() invocation.

Change-Id: I037a8f6c6c875c951a20beb315c54dc3759c963f
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
9 years agoBug 473098 - Reflect tp action changes from while-stepping
Marc Khouzam [Mon, 20 Jul 2015 16:41:36 +0000 (12:41 -0400)]
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

9 years agoStart restructuring Arduino CDT to use index files.
Doug Schaefer [Tue, 21 Jul 2015 15:10:49 +0000 (11:10 -0400)]
Start restructuring Arduino CDT to use index files.

Change-Id: Ibfa9b1e679d737c53b28700341e91d0dcacaba0f

9 years agoQuick test framework for QML parser tests.
Doug Schaefer [Tue, 21 Jul 2015 02:05:35 +0000 (22:05 -0400)]
Quick test framework for QML parser tests.

Change-Id: Id731074c35f3dc23fbfc2ea249da46fa2404fa25

9 years agoBug 472767 - Add support for Test Anything Protocol test runner
Colin Leitner [Wed, 15 Jul 2015 20:50:16 +0000 (22:50 +0200)]
Bug 472767 - Add support for Test Anything Protocol test runner

Change-Id: I3da84f0bdf46ca5082638ec7a6540df82f2cda63
Signed-off-by: Colin Leitner <colin.leitner@gmail.com>
9 years agoBug 473098 - Reflect tracepoint action changes
Marc Khouzam [Fri, 17 Jul 2015 14:42:05 +0000 (10:42 -0400)]
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>
9 years agoStart of using Arduino package index for board packages.
Doug Schaefer [Mon, 20 Jul 2015 13:36:12 +0000 (09:36 -0400)]
Start of using Arduino package index for board packages.

Added dependency to Gson for JSON parsing and Apache Http Client
for getting the index files from the Arduino site.

Change-Id: I3d265c1037e7f74e082f36c751f5eaf780e96684

9 years agoBug 421544 - When searching for the target file for Toggle Source/Header,
Nathan Ridge [Tue, 14 Jul 2015 06:46:22 +0000 (02:46 -0400)]
Bug 421544 - When searching for the target file for Toggle Source/Header,
prefer files closer to the origin file in the directory structure

Change-Id: I82a3c1dc3f09cecb69e07511dd5b8bed62676b6a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoFinish ECMAScript lexer. Upgrade to ANTLR 4.5.1.
Doug Schaefer [Sat, 18 Jul 2015 03:17:38 +0000 (23:17 -0400)]
Finish ECMAScript lexer. Upgrade to ANTLR 4.5.1.

Also added ANTLR src zip so you can see source.

Change-Id: I5041445c1401dfe0f35a80b9e5f6809504930120

9 years agoAdd copyrights to the QML parser source files.
Doug Schaefer [Fri, 17 Jul 2015 16:10:14 +0000 (12:10 -0400)]
Add copyrights to the QML parser source files.

Change-Id: Iae5bcf4000e66d3655ef0a47cb68aac8c18eced9

9 years agoDisable remote detach test case for 7.5
Marc Khouzam [Fri, 17 Jul 2015 12:41:07 +0000 (08:41 -0400)]
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>
9 years agoStart of QML parser.
Doug Schaefer [Fri, 17 Jul 2015 13:48:47 +0000 (09:48 -0400)]
Start of QML parser.

Change-Id: I434e0267371a8b6e353c59b22d3b32832d842192

9 years agoDisable restart test in case of remote debugging
Marc Khouzam [Wed, 24 Jun 2015 19:53:02 +0000 (15:53 -0400)]
Disable restart test in case of remote debugging

Change-Id: I08310791fe23c31219ea0e6ae26ea7f0a14eeff7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 466516 - Editing a breakpoint action is not immediately reflected in the list...
Anton Leherbauer [Thu, 16 Jul 2015 13:26:25 +0000 (15:26 +0200)]
Bug 466516 - Editing a breakpoint action is not immediately reflected in the list of attached actions

Change-Id: Ifa5b5d88d1174f350555b28f15d375073364a56a
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
9 years agoValidate breakpoint string fields also on mouse clicks
Anton Leherbauer [Tue, 14 Jul 2015 14:29:21 +0000 (16:29 +0200)]
Validate breakpoint string fields also on mouse clicks

9 years agoFix Disassembly creating 64-bit address breakpoint for 32-bit target
Anton Leherbauer [Tue, 14 Jul 2015 13:16:45 +0000 (15:16 +0200)]
Fix Disassembly creating 64-bit address breakpoint for 32-bit target

9 years agoFix capitalization of Run to Line, Move to Line, etc.
Anton Leherbauer [Tue, 14 Jul 2015 13:14:38 +0000 (15:14 +0200)]
Fix capitalization of Run to Line, Move to Line, etc.

9 years agoBug 405678 - fix "show references" not showing all references of a
Wei Li [Tue, 16 Jun 2015 20:13:27 +0000 (20:13 +0000)]
Bug 405678 - fix "show references" not showing all references of a
strucuture field in mixed C and C++ code

Change-Id: Ie5c5f96e18d9b949c69fcf8f330e31fe8a9002da
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
9 years agoFixed JavaDoc.
Sergey Prigogin [Mon, 13 Jul 2015 21:17:32 +0000 (14:17 -0700)]
Fixed JavaDoc.

9 years agoCosmetics.
Sergey Prigogin [Mon, 13 Jul 2015 21:13:09 +0000 (14:13 -0700)]
Cosmetics.

9 years agoBug 421823 - Heuristically resolve unknown bindings during 'Open
Nathan Ridge [Mon, 13 Jul 2015 04:53:58 +0000 (00:53 -0400)]
Bug 421823 - Heuristically resolve unknown bindings during 'Open
Declaration'

Change-Id: Id48769cae0ded784228780bbf60a30e7e990b073
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 421823 - Allow consumers other than content assist to perform
Nathan Ridge [Mon, 13 Jul 2015 04:23:48 +0000 (00:23 -0400)]
Bug 421823 - Allow consumers other than content assist to perform
heuristic base class lookup

Change-Id: I8add635bb62a0241b7de9430a32f85499535085d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 421823 - Move CPPSemantics.heuristicallyFindConcreteScopeForType()
Nathan Ridge [Mon, 13 Jul 2015 04:12:13 +0000 (00:12 -0400)]
Bug 421823 - Move CPPSemantics.heuristicallyFindConcreteScopeForType()
into a new class HeuristicResolver

Change-Id: I4a4948aa101192d4d74b385360bd94129ed71307
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472436 - Track whether an EvalID involves a pointer dereference
Nathan Ridge [Mon, 13 Jul 2015 03:21:42 +0000 (23:21 -0400)]
Bug 472436 - Track whether an EvalID involves a pointer dereference

Change-Id: If09ff059180bd7bdc50a73d13377838a24ed121f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472436 - Dependent field reference with pointer as field owner
Nathan Ridge [Mon, 13 Jul 2015 01:10:11 +0000 (21:10 -0400)]
Bug 472436 - Dependent field reference with pointer as field owner

Change-Id: I28ed13ac473249fe79800ae1a2361f87bacc156d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 471907 - Correctly resolve 'typeof' inside a qualifier type in C
Nathan Ridge [Sun, 12 Jul 2015 03:30:35 +0000 (23:30 -0400)]
Bug 471907 - Correctly resolve 'typeof' inside a qualifier type in C

Change-Id: I96825ce0012f6fd86284ef2ac8643c31c0d29ae4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472101 - Do not include variables declared in the condition of an
Nathan Ridge [Sun, 12 Jul 2015 02:34:57 +0000 (22:34 -0400)]
Bug 472101 - Do not include variables declared in the condition of an
if, while, or switch statement in the enclosing block scope

Change-Id: Idd90d85f705af11c84f31ca830eb86682a046b87
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoMinor API improvement.
Sergey Prigogin [Fri, 10 Jul 2015 23:28:27 +0000 (16:28 -0700)]
Minor API improvement.

Change-Id: Ie0b6ab44139c080dc5200c0a9c01cca0bbb9ca04

9 years agoBug 471103 Add caching for performance improvements of indexing process
Karsten Thoms [Tue, 30 Jun 2015 23:05:37 +0000 (16:05 -0700)]
Bug 471103 Add caching for performance improvements of indexing process

Change-Id: I56d3dea7e159f99fad083c6965a409c26b8de747
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
9 years agoCosmetics.
Sergey Prigogin [Fri, 10 Jul 2015 22:23:32 +0000 (15:23 -0700)]
Cosmetics.

9 years agoBug 472199 - Give correct offset to name of unnamed template parameter
Nathan Ridge [Fri, 10 Jul 2015 00:08:41 +0000 (20:08 -0400)]
Bug 472199 - Give correct offset to name of unnamed template parameter

Change-Id: Ie668dd02827b9e9a9c5e02700937a48471facfe1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 472325 - Bindings defined in anonymous namespaces should always be
Sergey Prigogin [Fri, 10 Jul 2015 02:11:18 +0000 (19:11 -0700)]
Bug 472325 - Bindings defined in anonymous namespaces should always be
considered file-local

Change-Id: I7ec420269256a0790627eac2f0c9890b21e4c14c

9 years agoBug 421823 - When a base class lookup runs into a deferred instance,
Nathan Ridge [Thu, 9 Jul 2015 06:09:38 +0000 (02:09 -0400)]
Bug 421823 - When a base class lookup runs into a deferred instance,
disambiguate between a method and a field

Change-Id: I03cf9aa55d79c6b9f2a96bf3cace36e706bfecfb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 442325 - Add support for __has_feature
Nathan Ridge [Fri, 3 Jul 2015 22:27:43 +0000 (18:27 -0400)]
Bug 442325 - Add support for __has_feature

Change-Id: I6ebbf76f19d1edde0592df0053a74006d5684d9d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoCosmetics.
Sergey Prigogin [Thu, 9 Jul 2015 19:05:33 +0000 (12:05 -0700)]
Cosmetics.

9 years agoBug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set...
Dmitry Kozlov [Wed, 25 Feb 2015 07:57:10 +0000 (11:57 +0400)]
Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult

Change-Id: I83ef2c8b22cf7a4acef3ccd68b9785a57cb66981
Signed-off-by: Dmitry Kozlov <ddk@codesourcery.com>
9 years agoCosmetics.
Sergey Prigogin [Wed, 8 Jul 2015 23:10:49 +0000 (16:10 -0700)]
Cosmetics.

9 years agoBug 459181 - Do not persist the state of the 'Hide potential method
Nathan Ridge [Sun, 14 Jun 2015 07:24:12 +0000 (03:24 -0400)]
Bug 459181 - Do not persist the state of the 'Hide potential method
calls' and 'Hide read-only references' search filters across searches

Change-Id: I424515f896b4222c247315bc72738cc4070d9e65
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoRevert "Bug 421823 - When a base class lookup runs into a deferred instance, disambig...
Sergey Prigogin [Wed, 8 Jul 2015 02:29:36 +0000 (19:29 -0700)]
Revert "Bug 421823 - When a base class lookup runs into a deferred instance, disambiguate between a method and a field"

This reverts commit a121f85c83d8044eb100e7673c75dc4d0594d381.

9 years agoFix some missing test resources in qt and core tests.
Jeff Johnston [Thu, 2 Jul 2015 22:25:09 +0000 (18:25 -0400)]
Fix some missing test resources in qt and core tests.

Change-Id: I1a7a5749d668065e10935ad428259e5f5d476951

9 years agoBug 471621 - Have CPPASTAlignmentSpecifier implement IASTAmbiguityParent
Nathan Ridge [Fri, 3 Jul 2015 22:55:06 +0000 (18:55 -0400)]
Bug 471621 - Have CPPASTAlignmentSpecifier implement IASTAmbiguityParent

This is necessary because the expression inside the alignment specifier
may be an ambiguous expression.

Change-Id: Ibb38410fea21251d866ddc58de6dc29b73623732
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoRevert an increase of test timeouts for debugging that was accidentally
Nathan Ridge [Fri, 3 Jul 2015 22:42:03 +0000 (18:42 -0400)]
Revert an increase of test timeouts for debugging that was accidentally
committed

Change-Id: I58cfdc50ba8fb929a3cb37f60754209494e9fad3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 421823 - When a base class lookup runs into a deferred instance,
Nathan Ridge [Mon, 6 Jul 2015 04:23:21 +0000 (00:23 -0400)]
Bug 421823 - When a base class lookup runs into a deferred instance,
disambiguate between a method and a field

Change-Id: Ib29f85822d11504a9f4c857083f275443ce6a832
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 408870 - Do not require a whitespace after 'operator' when searching
Nathan Ridge [Mon, 6 Jul 2015 03:24:48 +0000 (23:24 -0400)]
Bug 408870 - Do not require a whitespace after 'operator' when searching
for an overloaded operator in the Search or Open Element dialogs

Change-Id: Idd0363cd2cb3d44a822fb2ebc34582feb2238022
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoBug 470943 - Binding of rvalue reference to temporary (core issue 1138)
Nathan Ridge [Sat, 4 Jul 2015 07:27:18 +0000 (03:27 -0400)]
Bug 470943 - Binding of rvalue reference to temporary (core issue 1138)

Change-Id: I9524816b279e3f791535b11b54d475cf657fe64b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
9 years agoUpgrade to Tycho 0.23.0
Marc-Andre Laperle [Wed, 15 Apr 2015 18:07:03 +0000 (14:07 -0400)]
Upgrade to Tycho 0.23.0

Change-Id: If46a379b55d533eb2d963f626ebadab6addd5135
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 379684 Support for User Defined Literals
Richard Eames [Fri, 23 Jan 2015 02:10:37 +0000 (19:10 -0700)]
Bug 379684 Support for User Defined Literals

This patch adds preliminary support for C++11 user defined literals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation

Change-Id: I8a9760036a2c8428295f0e1ffb4b519a0a2577c9
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
9 years agoBug 464008: CNavigatorContentProvider creates new CProject instance on every invocation
Johann Draschwandtner [Tue, 7 Apr 2015 10:28:48 +0000 (12:28 +0200)]
Bug 464008: CNavigatorContentProvider creates new CProject instance on every invocation

This sometimes leads to issues with Binaries node.

Change-Id: I8f5159c14a2e8056e229582c57878f3d35342d3e
Signed-off-by: Johann Draschwandtner <johann.draschwandtner@windriver.com>
9 years agoBug 456958 Disassembly view sometimes doesn't update after stepping
Teodor Madan [Tue, 30 Jun 2015 15:51:11 +0000 (18:51 +0300)]
Bug 456958 Disassembly view sometimes doesn't update after stepping
instructions

- set update pending to false when received a late disasm result and no
context is available.
- add some trace messages helping trace the issue

Change-Id: Ia0a98ef283e871d12de4f50bad89a8d2f4e4c887
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
9 years agoCosmetics.
Sergey Prigogin [Tue, 30 Jun 2015 21:11:00 +0000 (14:11 -0700)]
Cosmetics.

9 years agoCosmetics.
Sergey Prigogin [Fri, 26 Jun 2015 22:33:36 +0000 (15:33 -0700)]
Cosmetics.

9 years agoCosmetics.
Sergey Prigogin [Fri, 26 Jun 2015 22:22:42 +0000 (15:22 -0700)]
Cosmetics.

9 years agoCosmetics.
Sergey Prigogin [Fri, 26 Jun 2015 21:42:03 +0000 (14:42 -0700)]
Cosmetics.

9 years agoImproved testStringConcatenationWithMacro test.
Sergey Prigogin [Fri, 26 Jun 2015 21:13:43 +0000 (14:13 -0700)]
Improved testStringConcatenationWithMacro test.

9 years agoCosmetics.
Sergey Prigogin [Fri, 26 Jun 2015 03:10:28 +0000 (20:10 -0700)]
Cosmetics.

9 years agoCosmetics.
Sergey Prigogin [Fri, 26 Jun 2015 00:55:03 +0000 (17:55 -0700)]
Cosmetics.

9 years agoRun testStringConcatenationWithMacro test for both, C and C++.
Sergey Prigogin [Thu, 25 Jun 2015 23:30:04 +0000 (16:30 -0700)]
Run testStringConcatenationWithMacro test for both, C and C++.

9 years agoBug 468417
ocagdas [Wed, 3 Jun 2015 10:32:36 +0000 (11:32 +0100)]
Bug 468417
The '.d' files that are generated by CDT, contain 'file_name.d:
file_name.cpp file_name.h' type of target prerequisite relations.

However, to get benefit of the dependency mechanism, this should be
something like 'file_name.o: file_name.cpp file_name.h'.

Therefore, we need to change ''options[3] = "-MT\"$(@:%.o=%.d)\"";'' as
'options[3] = "-MT\"$(@)\"";'

Also update the test cases.

Change-Id: Iee829a8564e1b134905ee06a8a4b76a1e3b30ecc
Signed-off-by: ocagdas <ocagdas@yahoo.com>
9 years agoFixed a bug in CharArrayUtils.lastIndexOf(char[], char[]) method.
Sergey Prigogin [Thu, 25 Jun 2015 01:22:39 +0000 (18:22 -0700)]
Fixed a bug in CharArrayUtils.lastIndexOf(char[], char[]) method.

9 years agoCreate tests for GDB 7.10
Marc Khouzam [Wed, 17 Jun 2015 20:19:35 +0000 (16:19 -0400)]
Create tests for GDB 7.10

Change-Id: I940f95a73278483d1b21dc8df9cdd41520522959
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoChange way to skip building of gdb doc
Simon Marchi [Mon, 22 Jun 2015 19:33:43 +0000 (15:33 -0400)]
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>
9 years ago[dsf-gdb] tests: Check if a line tag is defined more than once
Simon Marchi [Wed, 18 Feb 2015 18:30:02 +0000 (13:30 -0500)]
[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>
9 years agoRemoved redundant initialization.
Sergey Prigogin [Thu, 18 Jun 2015 17:53:36 +0000 (10:53 -0700)]
Removed redundant initialization.

9 years agoBug 387500 PgDn/PgUp jumps uses large address increments for memory
Teodor Madan [Wed, 10 Jun 2015 15:04:23 +0000 (18:04 +0300)]
Bug 387500 PgDn/PgUp jumps uses large address increments for memory
spaces with 64-bit address

- Fix scroll adjustments according to current viewport addresses
- Add CTRL-Home/CTRL-END to go to start/end of memory space
- Add Home/END to go to start/end of the row
- Add eclipse debug tracing support

Change-Id: Ifba9f1e6c67e1cc6ccb8f6f8787a55520d8bf9be
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
9 years agoBug 84144 [Parser2] GCC: labels as values
jyou13y [Wed, 17 Jun 2015 05:39:14 +0000 (13:39 +0800)]
Bug 84144 [Parser2] GCC: labels as values

add support for syntax   int k = (int) && x;

Signed-off-by: jyou13y <justin.you@synopsys.com>
Change-Id: I3bb888b8930706b01c545794be4e054b025e641f

9 years agoBug 470014 - Name resolution problem with ref-qualified methods
Sergey Prigogin [Thu, 18 Jun 2015 03:34:33 +0000 (20:34 -0700)]
Bug 470014 - Name resolution problem with ref-qualified methods

Fixed signatures of index methods with ref-qualifiers.

Change-Id: I6f49732c6cec273ca7fdb095340e438ca1a508f0

9 years agoCosmetics.
Sergey Prigogin [Wed, 17 Jun 2015 03:37:20 +0000 (20:37 -0700)]
Cosmetics.

9 years agoBug 470361 - Remove 32 Bit MacOS X Environment from Build
Thomas Corbat [Wed, 17 Jun 2015 11:24:49 +0000 (13:24 +0200)]
Bug 470361 - Remove 32 Bit MacOS X Environment from Build

Change-Id: I19654cff05b011ae13404d0d52c3b5fc1ab73a37
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
9 years agoUpdate p2.inf file for 8.8 release
Marc Khouzam [Tue, 9 Jun 2015 19:10:43 +0000 (15:10 -0400)]
Update p2.inf file for 8.8 release

Change-Id: I39b25336ebaf75075a02acae0d9f9abf7f8c9345
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoMore informative toString() method for methods.
Sergey Prigogin [Wed, 17 Jun 2015 00:06:41 +0000 (17:06 -0700)]
More informative toString() method for methods.

Change-Id: Ia8c3f8c0d5a65d5465624bc02393600925559573

9 years agoImproved consistency of test names.
Sergey Prigogin [Wed, 17 Jun 2015 00:05:53 +0000 (17:05 -0700)]
Improved consistency of test names.

9 years agoBug 470014 - Name resolution problem with ref-qualified methods
Sergey Prigogin [Tue, 16 Jun 2015 22:18:50 +0000 (15:18 -0700)]
Bug 470014 - Name resolution problem with ref-qualified methods

Change-Id: I2baeee442adffefb1df2c217ed91c5ff58a430ae

9 years agoCosmetics.
Sergey Prigogin [Tue, 16 Jun 2015 23:03:14 +0000 (16:03 -0700)]
Cosmetics.

9 years agoCosmetics.
Sergey Prigogin [Fri, 12 Jun 2015 02:45:26 +0000 (19:45 -0700)]
Cosmetics.

9 years agoBug 469533 - [Remote launch] Necessary plugins not installed along with C/C++ Remote...
Marc-Andre Laperle [Thu, 11 Jun 2015 19:49:23 +0000 (15:49 -0400)]
Bug 469533 - [Remote launch] Necessary plugins not installed along with C/C++ Remote Launch (RSE)

Change-Id: I10facf0b2a842bfdfa76373df09ad5c05dfaf392
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 317173 - Better use of generics
Marc Khouzam [Fri, 12 Jun 2015 18:19:29 +0000 (14:19 -0400)]
Bug 317173 - Better use of generics

Change-Id: I19319f85219db677328d9fc35574f07ca84a3752
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 468192 - Prevent creating a duplicate bp when modifying properties
Marc Khouzam [Fri, 22 May 2015 20:41:05 +0000 (16:41 -0400)]
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>
9 years agoBug 399931 - Fix for toggling functions with return type from context.
Thomas Corbat [Thu, 23 Apr 2015 06:34:26 +0000 (08:34 +0200)]
Bug 399931 - Fix for toggling functions with return type from context.

Change-Id: I188d851500c4464d12977c82805679eee31663f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
9 years agoBug 317173 - Added generics
Marc Khouzam [Thu, 11 Jun 2015 14:55:26 +0000 (10:55 -0400)]
Bug 317173 - Added generics

Change-Id: I9387aa408f43cb34e93182286e5a1f5f281ca418
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 317173 - cleanup warnings
Jonah Graham [Thu, 11 Jun 2015 13:13:55 +0000 (14:13 +0100)]
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>
9 years agoBug 469926: Update readme from CVS to GIT URLs
Jonah Graham [Thu, 11 Jun 2015 11:53:27 +0000 (12:53 +0100)]
Bug 469926: Update readme from CVS to GIT URLs

Change-Id: I77ee51f2a59bf306b789a6664b82a5f8d79f919a
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
9 years agoBug 469890 - NPE in ProblemHighlighting.consumes due to an orphan AST
Sergey Prigogin [Wed, 10 Jun 2015 23:57:50 +0000 (16:57 -0700)]
Bug 469890 - NPE in ProblemHighlighting.consumes due to an orphan AST
node

Change-Id: Ic3ee9cb68f766660c215347128c60bfc9ee98d59

9 years agoCosmetics.
Sergey Prigogin [Wed, 10 Jun 2015 23:41:16 +0000 (16:41 -0700)]
Cosmetics.

9 years agoIncremented CDT feature version to 8.8.0
Marc Khouzam [Tue, 9 Jun 2015 19:33:09 +0000 (15:33 -0400)]
Incremented CDT feature version to 8.8.0

Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoImproved robustness of global scope handling.
Sergey Prigogin [Mon, 8 Jun 2015 19:44:29 +0000 (12:44 -0700)]
Improved robustness of global scope handling.

Change-Id: Id0222766e8c5e258f866f9a4c8b3307a06bdf4c7

9 years agoUpdate to use the Mars Orbit version
Marc Khouzam [Mon, 1 Jun 2015 20:26:43 +0000 (16:26 -0400)]
Update to use the Mars Orbit version

Change-Id: I5a4a4fdefc46a374148e6a3bdaeb59c21cb06d8b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoRemoved an unused field.
Sergey Prigogin [Mon, 8 Jun 2015 23:55:57 +0000 (16:55 -0700)]
Removed an unused field.

9 years agoCosmetics.
Sergey Prigogin [Mon, 8 Jun 2015 23:44:04 +0000 (16:44 -0700)]
Cosmetics.