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

23523 commits

Author SHA1 Message Date
Alvaro Sanchez-Leon
af6a81e33d Bug 430313 - [remote] Auto Remote Debug - Unable to download to folder
Change-Id: I5b798435a11a97cb0e5195494455104867d12b8d
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/23735
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
IP-Clean: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-04-01 04:41:32 -04:00
Sergey Prigogin
98e690291a Cosmetics. 2014-03-31 14:17:43 -07:00
Mikhail Khodjaiants
8113f63532 Bug 426834 - Failure to install breakpoint in GDB when spaces are in the
workspace path

Change-Id: I9487275bd5c8c5a5cacbadd884c2fa38e49dd6dd
Reviewed-on: https://git.eclipse.org/r/23732
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-03-31 15:45:53 -04:00
Xavier Raynaud
22c1ce3d27 bug 428424: fix NPE while playing with
org.eclipse.cdt.visualizer.examples

Change-Id: I239c7c6594dd5864459ed47c47a1888607ecdaa2
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22156
Reviewed-by: William Swanson <traveler@tilera.com>
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
IP-Clean: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-03-31 14:33:13 -04:00
William Riley
f54cf7280e Bug 357270 - Show opcodes in the disassembly view
Change-Id: Ia88fa4032483cf70f41714bddd688d754bb5451b
Signed-off-by: William Riley <william.riley@renesas.com>
Reviewed-on: https://git.eclipse.org/r/22972
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-31 14:30:49 -04:00
Sergey Prigogin
6b32a922ba Cosmetics. 2014-03-31 11:15:19 -07:00
Sergey Prigogin
dc19bb3b6b Bug 431544 - UnsupportedOperationException in
ControlFlowGraphBuilder.build

Change-Id: I91fd0b4e1a816b80a4bbad5e7a8ee1f61f9862a9
Reviewed-on: https://git.eclipse.org/r/24214
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-31 13:52:52 -04:00
Sergey Prigogin
14bea54256 Cosmetics. 2014-03-31 10:44:07 -07:00
Raphael Zulliger
48613495d7 Bug 431622: Refactoring: Allow derived classes of RegisterVMProvider to
create alternative configuration

Change-Id: I66003b8d664c7633d24a4419acad4c6c8cc0d9bb
Signed-off-by: Raphael Zulliger <zulliger@indel.ch>
Reviewed-on: https://git.eclipse.org/r/24197
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-31 13:02:59 -04:00
Anton Leherbauer
c3e9df032b Bug 430117 - "Connect to Process" is always enabled initially 2014-03-31 13:13:42 +02:00
Anton Leherbauer
b3b36231e3 Bug 428121 - Can't force refresh of the disassembly on a different address 2014-03-31 11:44:58 +02:00
Anton Leherbauer
7d147536f3 Limit opcode ruler width to max 20 chars 2014-03-31 11:44:35 +02:00
Sergey Prigogin
4d2a57889c Cosmetics. 2014-03-25 15:35:37 -07:00
Sergey Prigogin
fa7aff1975 Fixed an "Unsafe method call" exception. 2014-03-25 15:32:42 -07:00
David Kaspar
698788ea71 Bug 431012: Missing IQMakeProjectInfo.updateQMakeInfo()
Adding IQMakeProjectInfo.updateQMakeInfo():QMakeInfo method to allow
explicit calculation of QMakeInfo at the time of the method call.

Change-Id: I665bedd5e095d1968f0c39ff2abb19c60aac9e14
Signed-off-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-on: https://git.eclipse.org/r/23800
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-03-24 15:01:26 -04:00
mhussein
f9e4bbf0a3 Bug 430610: Fix ClassCast in TemplateEngineUIUtil.showError
Change-Id: I12505001e3c2fa1ee996ad5ba55ab615be34c731
Signed-off-by: mhussein <mohamed_hussein@mentor.com>
Reviewed-on: https://git.eclipse.org/r/23550
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-03-24 13:59:20 -04:00
Nathan Ridge
2384c6442a Bug 429891 - Fold conditional expression when condition's value becomes
known

Change-Id: Ic241428937864d2c93f6d252386c89fcd3172974
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23768
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-24 12:31:56 -04:00
Doug Schaefer
35daa1d321 PR 383941 - Support binaries with dots in their name. 2014-03-24 11:25:45 -04:00
Marc-Andre Laperle
274b07f70f Remove test interdependencies in CPathEntryTest
testCPathEntries verifies the presence of the default path entries.
testPathEntryContainer modifies the path entries. Because the same
project is being used, if testPathEntryContainer executes first,
testCPathEntries fails. By creating and deleting the project every
time, the problem is fixed.

Also, removed some unnecessary code than seemed copy pasted but not actually used.

Change-Id: Ifcd06d3a133f29b5ce9e2e0fdee34e9493377625
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23756
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-23 23:49:38 -04:00
Nathan Ridge
6d82f0f7a4 Bug 429891 - Do not attempt to evaluate a constexpr function call if the
arguments are not constant expressions

Change-Id: I7f7e5cfd1e581c168bfcc65222e9ef87a15a8e4f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23744
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-23 23:44:29 -04:00
Nathan Ridge
8be981a088 Bug 430282 - Break out of recursion when creating
RecursionResolvingBindings

Change-Id: I568a6f551969adc771ef48113c25b089b69657df
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23588
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-22 12:54:57 -04:00
Nathan Ridge
d02be6bf77 Bug 430282 - Trace indexer exceptions for easier diagnosis of bugs
Change-Id: I208a77af84cc3f3dd017456133edd5e3fa4c7743
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23743
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-22 12:53:13 -04:00
Marc-Andre Laperle
c8c5a78649 Remove test interdependencies in CDescriptorTests
Change-Id: I9b7660bed41357337505ec99bc9289071bcbce7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23733
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-21 16:33:00 -04:00
sprigogin
c35254e018 Fixed a typo. 2014-03-19 11:40:23 -07:00
sprigogin
c38c1e4204 Test - please ignore
Change-Id: Ie4a5e20b458152f18360f2dd20ad05efd33061a1
2014-03-19 11:31:33 -07:00
Marc-Andre Laperle
ac235ca6b7 Use the default indexer timeout instead of hard-coded ones in some tests
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-18 01:00:33 -04:00
Marc-Andre Laperle
535ad23797 Fix intermittent test failures in codan
Sometimes, index-based checkers (AbstractIndexAstChecker) were skipped
because the indexer was not fully initialized so expected errors were
not getting reported.

Change-Id: Ibb764224f11ae4a867a4aa6b9de2b8ec55e90c55
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23428
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-15 12:05:03 -04:00
Sergey Prigogin
c1ca5aeef0 Bug 430428 - Function resolution problem with lambda and typedef. 2014-03-14 19:17:30 -07:00
Marc-Andre Laperle
cc287ba76f Upgrade to Tycho 0.20 2014-03-14 14:59:48 -04:00
Sergey Prigogin
526fd1eb55 Bug 430230. Fixed loss of EvalTypeId arguments during
serialization/deserialization.
2014-03-14 11:04:45 -07:00
Nathan Ridge
2c78dee75f Bug 151329 - Accept '\r' as line delimiter in the lexer
Change-Id: Ie3fb2926270a605db2a8590f6e00c1dc6ab7855a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23096
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-14 12:16:29 -04:00
Sergey Prigogin
450504e505 Bug 430230. More involved test case and a fix for the issues it
uncovered.
2014-03-13 20:39:01 -07:00
Sergey Prigogin
db4c3d2c3e Bug 430230. Few follow up fixes. 2014-03-13 17:06:04 -07:00
Sergey Prigogin
aa2ae49463 Bug 430230 - Invalid constructor call is ignored by SFINAE template
resolution.
2014-03-13 16:30:08 -07:00
Sergey Prigogin
d5db93891d Cosmetics. 2014-03-13 16:29:58 -07:00
Marc Khouzam
ea81f8bf27 Bug 430304 - "Add C/C++ Watchpoints" no longer shows for variables and
expressions view 

Change-Id: I0ed59f1f2ce4a6c145b601b79bc9394071686f06
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23342
2014-03-13 13:22:38 -04:00
Marc-Andre Laperle
b1b11e28bd Change target definitions to use JavaSE-1.7 Execution Environment
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-13 02:23:31 -04:00
Marc-Andre Laperle
c221d768ac Always run CDescriptorTests methods in the same order
It appears this class was not written to with random test ordering in
mind. This should fix some of the intermittent test failures.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-13 02:00:03 -04:00
Marc-Andre Laperle
f6fcccfcad Bug 421041 - NPE in EvalBinding.getBinding
This happens when constructor EvalBinding(IBinding binding, IType type,
IBinding templateDefinition) is called with a null binding. A binding
can be null for example when TypeMarshalBuffer.unmarshalBinding returns
null. Instead of returning null, unmarshalBinding can return a
ProblemBinding and the assumptions that the binding in EvalBinding is
not null can be maintained.

Change-Id: Icebf875e059f2962cc2ddd91d3b79c51b88eddac
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18064
2014-03-12 22:01:36 -04:00
David Kaspar
73a912f95b Bug 429488: Fix for deadlock in QMakeProjectInfo.updateActiveConfiguration
To prevent a deadlock between two the workspace and QMakeProjectInfo.sync
locks, QMakeProjectInfo class has been rewritten to not call any method
under sync-lock except for IQMakeEnv.init/destroy method.

All methods should allow calling under workspace lock.

Added a new IQMakeEnv2 interface to provide an explicit init method.

Original QMakeProjectInfo has been split to
QMakeProjectInfo and QMakeProjectInfoManager.

This change is fully backward compatible.

Change-Id: I880f22dd9bd999af1d3f47e4a3c4c0ab216b4ad2
Signed-off-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-on: https://git.eclipse.org/r/23270
Tested-by: Hudson CI
Reviewed-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-03-12 20:50:01 -04:00
Jeff Johnston
e62ed2c8b7 Bug 429963 - m4 editor not handling quotes properly
- Fix Autoconf editor to not arbitrarily apply to any
  m4 file, but instead list a set of filenames known to
  be part of autoconf (i.e. expect [] quotation)

Change-Id: Ib6b5a6b8c215d63b0a2423f5a01de5d9131a92c6
Reviewed-on: https://git.eclipse.org/r/23217
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-03-12 15:26:59 -04:00
Thomas Corbat
039e2619d8 Bug 413615 - GCC __attribute__ produces syntax error after "override"
Added test and implementation of recognizing GCC attributes after
override.

Change-Id: I0a6661c7be2b921658240ccebba6fbcb24780f20
Reviewed-on: https://git.eclipse.org/r/23231
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-03-12 04:24:18 -04:00
Teodor Madan
d8a4f20401 Bug 429874 - GDB Hardware Debugging Launcher "Main" tab does not check
for valid program path

Change-Id: Ibe02a00fefb4a5b933396f567d29e3adbb74ba2d
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/23037
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-12 04:08:02 -04:00
Teodor Madan
1a65b23a5d Bug 429251: Breakpoint problem marker is not displayed in external
source files

Enable ExternalSearchAnnotationModel displaying BP problems by setting attribute C_MODEL_MARKER_EXTERNAL_LOCATION

Change-Id: Icb0c2bf444aa1eb91a8da685c35a140e8174439b
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22748
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-12 04:06:37 -04:00
Sergey Prigogin
f184e96fe7 Adjusted a test name based on Nathan's suggestion. 2014-03-11 08:56:14 -07:00
Xavier Raynaud
95c8e7ffdd Bug 429124 - MIThread, MIThtreadInfo, MIThreadInfoInfo can be overridden
Change-Id: If08bc919031bbe675ca59b90c0c2b782a59841a7
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22553
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-11 07:07:20 -04:00
Sergey Prigogin
e91e3669b7 Bug 429928 - False "invalid overload" due to undetected instantiation
failure.

Change-Id: I6f89baa929560468eb899255875865e29d254218
Reviewed-on: https://git.eclipse.org/r/23171
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-11 00:04:30 -04:00
Sergey Prigogin
d3793be6d1 Consistent capitalization of SFINAE in test names. 2014-03-10 10:14:20 -07:00
Sergey Prigogin
78c1d3237b Bug 430029 - CPPASTBaseDeclSpecifier.copy() doesn't copy isThreadLocal. 2014-03-10 10:10:34 -07:00
Thomas Corbat
b5cf6c388c Bug 427539 - C++11 attribute implementation
- Implemented C++11 attributes without breaking the current API for
attributes in CDT. Added attribute specifiers according to the standard,
which can be added to attribute owners and contain ICPPASTAttributes
themselves.
- Adapted current attribute implementation (Tokens and Offsets) to be
writable by ASTWriter.
- Added integration of GNU attributes into the AST for several missing
cases.

Change-Id: Ifb6a05989f0b4da0d504be24213df86c66428060
Reviewed-on: https://git.eclipse.org/r/22555
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-10 13:01:47 -04:00