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

24752 commits

Author SHA1 Message Date
Marc-Andre Laperle
b7e23cab72 LLDB: Add support for attaching to local process
Bug: 405670
Change-Id: I3fb967ec7536a92f67e87954814ebaf499352d7f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-18 15:49:30 -04:00
Marc-Andre Laperle
5e32334aa0 LLDB: Add support for local debugging of new processes
This commit adds support for debugging new processes launched locally
using the LLDB debugger (lldb-mi). The minimum version supported is
LLDB 3.8.

Preliminary documentation on how to set it up is available here:
https://github.com/MarkZ3/Eclipse-CDT-WIP/issues/9#issuecomment-236483223

Bug: 405670
Change-Id: If46543e974e2f19c45ab3bba088eab35fe737077
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-18 10:47:33 -04:00
Marc-Andre Laperle
461639d4ee Bug 499837 - Mac keybindings for expand selection commands are inconsistent with JDT
Use the same as JDT to be more consistent and also to not conflict
with Mission Control.

Change-Id: Ibe1ed3c43e5c7de2ab5bb0a508bf93e22bbdb7ca
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-18 00:51:51 -04:00
Doug Schaefer
4afa9e24da CMake updates. Clean, error parsers, add to category.xml.
Make CMake public with the change to category.xml. It's getting close
to being usable in 9.1.

Change-Id: If3e80aa5d5314cb42bbf0d253157d7ecb7d13046
2016-08-17 15:30:45 -04:00
Marc-Andre Laperle
cf0271a5ed Let the Tycho build specify the indexer timeout during tests
Running maven with mvn clean install -Dindexer.timeout=123 doesn't
have any effect since tests to not inherit the VM args from Maven.
But we can pass those VM args manually in the pom.xml

Change-Id: I17b4aecdc422e3035e583b6d057c8487e7e41650
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-17 14:50:42 -04:00
Doug Schaefer
8fd27dfb2b Remove the new Qt Project wizard.
We're trying to consolidate all the CDT wizards in the New C/C++
Project wizard.

Change-Id: I9303df4ee8d7adddee3005e7d5d6f7b11b8faa3e
2016-08-17 12:01:13 -04:00
Marc Khouzam
cd559dafaf Update version to 9.1.0
This commit used the script releng/scripts/ChangeFeaturesVersion.sh

Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-17 10:11:57 -04:00
Marc-Andre Laperle
5c80faaafe Bug 499116 - Missing keyboard binding for toggle comment
Add M1+7 key binding for Toggle Comment, just like JDT.

Change-Id: I561dd01948b77041ebf85f5a0374f4caa0a7e120
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-17 01:11:24 -04:00
Doug Schaefer
11d5df1274 Bug 323848 - Add Build (was Make) Targets to the Project Navigator
Change-Id: Ia1da4a5e57a7a19732deaf0fa384702139220432
2016-08-16 14:23:31 -04:00
Marc Khouzam
5c00a7c049 Remove old .api_filters
Change-Id: Ie5750ec15e1bcdc525a869579620370ff59bab70
2016-08-15 09:46:15 -04:00
Doug Schaefer
057c7e099e Bug 497691 - Allow all cu.* serial ports on Mac. Remove tty.*
gdb doesn't work when the serial port is tty.*. cu.* is supposed to
be for calling out, tty is for receiving. Our use cases are the former.

Change-Id: Iea15efbfa353eda3a7260c2f9c8a75a310f679f9
2016-08-12 14:49:05 -04:00
Jonah Graham
08b8dca563 Bug 499553: Fix line comments used as a block on non-indented code
Change-Id: I059ba491e66722b286cfc9366cbfcd7efda535f6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 06:04:57 -04:00
Jonah Graham
b34d04c0d5 Bug 499471: Workaround indexer deadlock when tests running
See the bug for lots more details. Short summary is to prevent project
from being deleted when indexer is still running to prevent the
deadlock.


Change-Id: Ie2523fcbacb3f8a15b43f107bd264069270c4028
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 05:13:35 -04:00
Doug Schaefer
9982b67c76 Add GSON to our p2 repo.
We should redistribute our dependencies from Orbit. GSON was missing.

Change-Id: I6818ea3d9990bcdee03cadf33d815c186b6127b4
2016-08-11 15:06:23 -04:00
Jonah Graham
21dacc15fd Cosmetics.
Fix mixed indentation

Change-Id: Iba3193013c2e6cd5e21e0d61f47b244dfafe0582
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-11 14:30:24 +01:00
Doug Schaefer
30cde08c83 Add templates that map to old new project wizards.
Change-Id: I23a01ca9adcb73aa684d3be5932975e75f1a2462
2016-08-10 16:07:19 -04:00
Doug Schaefer
cc5287f548 Only show Language Setting property on old build system projects.
Change-Id: I21e71af0f5e701939d133707353e5bde7e4ab0e1
2016-08-10 13:52:49 -04:00
Doug Schaefer
20c4e5ba88 Get CMake projects created and building. New C/C++ Project Wizard.
Fixed up CMake new project creation. Hooked up the CMake build config
properly.

Introducing the New C/C++ Project Wizard that hold all the new project
types: Arduino, Qt, CMake.

Change-Id: I9f9c8b1f51b136515fe226c15059cdbb99106275
2016-08-10 11:17:41 -04:00
Marc Dumais
35921b4bbd Bug 499227 - Missing REVEAL and FORCE flags in VMDelta#appendDetail()
Change-Id: I51148b3267b28561ea27c6dd4bbecaf8afe92d8f
2016-08-10 08:47:59 -04:00
Doug Schaefer
e747b21ae0 Propagate fixes for Arduino from CDT 9.0 to master.
Change-Id: If7d02530ba46f01f7f58724cba7b4921b93ca895
2016-08-09 15:52:10 -04:00
William Riley
0f11ffff88 Bug 476797 - Enable Expand annotation hover by default
Change-Id: I8362079dc73a17eba194193210d9ad0b36a2ef28
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-09 07:15:19 -04:00
Doug Schaefer
9c02bc6b8d Move Qt Project wizard over to new template NewWizard.
The template framework now assumes that NewWizard is the root class
of the main wizards.

Change-Id: I9d91d90d77919787b880d61896eba95212aebca1
2016-08-08 16:51:58 -04:00
William Riley
c297330c9c Bug 476797 - Port Expand annotation hover from JDT
Ported the JDT expand annotation hover code into CDT & adapted.

Added preference to control in equivalent location to JDT. Default is
disabled for now.

Changed behaviour from JDT version - 
 * Breakpoint annotations & add breakpoint option displayed last
 * Tooltips displayed with no delay after expanded hover is displayed
 * Reverted fix for bug 165533 due to issue where single click on 1st
   item in expanded hover also triggers single click on top item in
   ruler if mouse within ruler area (Same as JDT)

Known issues -
 * Double click on ruler column sometimes triggers single click on 1st
   item in expanded hover if user is too slow (Same as JDT)

Change-Id: I87c2f8efd04ea5084b056241a04758a368e2ca55
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-08 16:25:02 -04:00
Sergey Prigogin
739281bec7 Remove Function Bodies and Remove Unused Declarations refactorings.
Change-Id: I99cfe7e561ab1615c7d4ee8c126e07acbc672196
2016-08-08 12:02:17 -07:00
Sergey Prigogin
3d584f5deb Cosmetics.
Change-Id: Id4498083c369ba3a9721a415945186c4c48f90a7
2016-08-08 12:02:16 -07:00
Marc Khouzam
88ee46b514 Update o.e.cdt.core plugin version as necessary due to recent change.
Change-Id: Ief752f55f52597795ad0df0035a67f13e6b36ac1
2016-08-03 09:33:28 -04:00
Nathan Ridge
1084e608d0 Add a declaration of newName(String) to ICPPNodeFactory
Change-Id: I1ccbde39761bfb944e8677d196e577ea89e25e94
2016-08-02 19:21:38 -04:00
Marc Khouzam
fbe9807877 Allow GdbLaunch#getGDBVersion() to be called more than once.
Originally, we used LaunchUtils.getGDBVersion() to fetch the GDB
version.  Because that method was used for any debug session, we didn't
cache the result of it.

Now that we moved the version handling to the GdbLaunch class, and that
this class is unique per session, we can cache the result of the
getGDBVersion(), allowing it to be called more than once.

Change-Id: I1a396134ca5c609224f8abb7b70d1e0866810497
2016-08-01 22:19:38 -04:00
Sergey Prigogin
80b05f860a Cosmetics
Change-Id: Idabd9e2d0c587618c2a68363fabdd0692ee8f847
2016-07-31 22:13:13 -07:00
Sergey Prigogin
072e568395 Cosmetics 2016-07-31 13:59:46 -07:00
Sergey Prigogin
e8213acedf Cosmetics 2016-07-31 13:23:12 -07:00
Jonah Graham
d8a3896101 Bug 498882: Add test for UI deadlock on terminating multiple launches
This is the test for bug 494650.

If the test fails it leaves the JVM unterminated so the whole test run
timesout.

Change-Id: I4e50acde1654995efcf0f723d6552b68af177503
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-07-30 07:43:03 +01:00
Sergey Prigogin
d866664a92 Cosmetics
Change-Id: I0ace660542038d2077fb9e989b1bb5ccc10b4ef2
2016-07-29 21:20:41 -04:00
Jonah Graham
06751579f3 Bug 494650: make method atomic without using a Query
Make GdbSourceLookupParticipant.sourceContainersChangedOnDispatchThread
atomic without requiring the calling thread to wrap the call in a Query.

This prevents a deadlock where two different Executor threads are both
listening to changes on the same launch configuration (e.g. when the
same launch configuration is launched twice).

See Bug 494650 for more details.

This change is a continuation of:
  commit 6283890715
  Bug 472765: Use gdb's "set substitute-path from to"

Change-Id: I3e3faa7a079db42a709668b45e3ec5b3d473a86d
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-07-29 13:05:07 +01:00
Nathan Ridge
dcb726d00c Fix a typo in EvalBinary
Change-Id: Ib109e00962232f3146711ed9ec0218c91692acfa
2016-07-28 22:01:57 -04:00
Nathan Ridge
69fb4ee9cd Bug 498434 - Floating-point literal with leading zero
Change-Id: I7417405ae89b41c7d3b28089320cc66f1c7c6173
2016-07-28 22:01:45 -04:00
Alvaro Sanchez-Leon
035520ee89 Add org.eclipse.cdt.testing.feature.source
Change-Id: I4b7b50129fadc6471d484c9ca970a246da0fe9b6
2016-07-28 15:11:15 -04:00
Sergey Prigogin
c4f4122343 Minor optimization in TypeInstantiationRequest.equals method.
Change-Id: Ie9efe4000b9354e9c2193a0f8264e771ffe8e169
2016-07-28 14:46:15 -04:00
Jonah Graham
4289aa7b0d Bug 494650: Refactor BaseTestCase to allow multiple launches per test
Bug 494650 has an issues when multiple launches are terminated, at
present the test infrastructure makes it very difficult to launch
multiple launches within one test. This commit refactors the base test
case to enable launching additional tests with doLaunchInner.

Change-Id: I501edf4e485c304b0a00c18f1d5e3813011a0491
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-07-28 13:30:03 -04:00
Sergey Prigogin
fdedd70428 Speed up indexer in a situation when there is a large number of
equivalent CPPMethodTemplateSpecialization objects

Change-Id: I3ad05af2de652a109e1680c189b54e81e355d357
2016-07-27 21:05:11 -07:00
Marc-Andre Laperle
8f2799fa91 Update outdated Maven plugins
Change-Id: I182e129efb5c464520c83fb5fb9de1df2ec6e857
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-25 00:36:22 -04:00
Sergey Prigogin
d3b62dd5ba Cosmetics and code streamlining.
Change-Id: I2c5479f4259cafe5d98cb203f3af2d4aac62cfbe
2016-07-20 21:00:28 -04:00
Marc Khouzam
d72b4df3eb Bug 497167: Add support for =thread-group-added event
This will allow us to eventually take action (like prepare the console)
as soon as the user adds a new inferior using the gdb console and the
command add-inferior.

Change-Id: I24ff380b8442de6a88e3caa0fe6832e90e83ac99
2016-07-20 11:08:40 -04:00
Marc Khouzam
25a42fbdce Bug 497592 - Wait for request to GDB for inferior name to be completed
GDBProcesses_7_0 would fetch the name of a process as soon as it learned
of the process through the =thread-group-started event; however, if
there was a call to IProcesses.getExecutionData() before the name was
received, the service would return the wrong name.

This commit fetches the name when IProcesses.getExecutionData() and uses
a CommandCache to do it.  That way, if a call to
IProcesses.getExecutionData() is made before the name is received, the
request will be cached until the name is available.

Furthermore, the cache allows to handle the case where the target is
unavailable, which can happen in all-stop mode and we disabled stopping
at main.

Change-Id: Ia75d3c677e189f87e9ec2864c744a870a0a18407
2016-07-20 11:08:10 -04:00
Doug Schaefer
29303b6a20 Set API baseline to point to /r build. Add templates framework. 2016-07-18 14:27:57 -04:00
Eduard Scheske
ce79667a65 Bug 498019 - Oomph setup fails
Change-Id: Ib5f77bd710054b6408ec48c0c4f23c9af9a03884
Signed-off-by: Eduard Scheske <eduard.scheske@googlemail.com>
2016-07-18 11:14:31 +02:00
Sergey Prigogin
2d4d6b3e1c Bug 497931 - Added a failing test and a TODO in the problematic code
Change-Id: I9562d0452a3ba08b940d948e040580e858abaa39
2016-07-15 18:29:46 -04:00
Marc-Andre Laperle
19d7a44ada Add o.e.ui.trace to Oomph setup
So that it can find the org.eclipse.ui.trace.traceComponents
extension point.

Change-Id: Iad5916a39551a543e76604efbe9b73d30b5a89c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-15 14:56:46 -04:00
Jeff Johnston
1560afe3fa Bug 497779 - Add labels to applications run as Docker containers
- fix labels to comply with Docker standards (lower-case and
  prefixed by reverse DNS notation)

Change-Id: I7464f74e902f2198833e048a0d5dc6dd3c42de39
2016-07-14 17:02:06 -04:00
Sergey Prigogin
50dff78b51 Cosmetics. 2016-07-14 12:50:40 -07:00