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

34460 commits

Author SHA1 Message Date
Jonah Graham
77f853e077 [releng] Update to 2019-09 M3 dependencies
Change-Id: Iffd85899e7a571b864404c6249011005034aac2e
2019-08-26 17:59:43 -04:00
John Dallaway
4ebb82d8b2 Bug 535163: Use 'reset and halt' command (DAP)
Change-Id: Id5ec90a062a203933a2756d0a2f71ce36d00daf8
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-08-23 19:45:13 +01:00
John Dallaway
49c7ae5f3b Bug 535163: Use 'reset and halt' command
Change-Id: Icfe5796a33c01208c1fa98cc6357d21c0e83b9ae
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-08-23 15:43:32 +01:00
Doug Schaefer
b1f14709b8 Bug 550308 - Allow toolchain to specify part of the build config name.
This allows us to consider more than just the os and arch in the build
config names as required by the selected toolchain.

Change-Id: I3e1a52c756aca13fbe6c83a95f9a86bb2f286f1d
2019-08-22 16:44:13 -04:00
Umair Sair
9d97a36419 Bug 550165: Debugging is stuck when "command aborts" on step return
Adding unit test for MIAsyncErrorProcessor. The test adds breakpoint on
0x0 address and try to continue and step return. It asserts that the
target is in stopped state and error as reason in both cases. Then it
removes all the breakpoints and resumes the target and asserts that
target is in resumed state.

Change-Id: I2e024e0d5f55b4e9464a6f2b7a2b0c78bee4e8e8
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-19 12:43:22 -04:00
Jonah Graham
342d0c7b89 Bug 549567: Add example of what checkmark overlay looks like to help
Change-Id: I1bb77e6085a7d1097f457ba5207f1ae791a9b452
2019-08-17 19:47:12 -04:00
Umair Sair
810f329774 Bug 550165: Debugging is stuck when "command aborts" on step return
Command abort can occur for commands that are run not just in context of
thread, instead stack frame is also present, e.g., step return in case
of this bug. Updated the implementation to get IExecutionDMContext from
the command context if it is not IExecutionDMContext itself.

Change-Id: Ia6cccffba8bde28e22eca46211747de31084f25a
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-18 01:17:00 +05:00
Jonah Graham
15b00032ce Bug 542488: Convert URL to path properly on Windows
Change-Id: I63a5c3e260583b4df82e4c5bf8fbbdf3e5958e54
2019-08-12 18:30:57 -04:00
Alexander Kurtakov
a3938937f2 Convert new Runnable to lambda.
Take 2.

Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 17:31:30 +03:00
Alexander Kurtakov
1e42e5f0e1 Convert new Runnable to lambda.
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 07:11:40 -04:00
Alexander Kurtakov
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Jeff Johnston
bb602d0fb3 Bug 515393 - Allow contribution to CDT CSS pref node
- add pseudo attributes to allow others to extend the
  org-eclipse-cdt-ui preference node

Change-Id: I79a7bbf80fee47988dc81e651375005640ceee1e
2019-08-09 15:00:50 -04:00
Alexander Kurtakov
c673caf92e Remove unneeded suppress warnings.
Change-Id: I6b552fd94ced0cd8c0d489386d4b594ae7df8fdf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 05:03:08 -04:00
Alexander Kurtakov
6e99703e26 Do not override managed maven plugin version.
Change-Id: I18f21ef8805e7680740a13a73efb540c30ccfe5e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 05:02:43 -04:00
Nathan Ridge
f89c738b0b Bug 549508 - Avoid calling CPPBasicType.setAssociatedNumericalValue() without cloning the type
If we call it without cloning, we associate the value with every place
that has a reference to that CPPBasicType object, which could involve
completely unrelated entities.

Change-Id: Icff6c32d15ee6dbc55e363b2de9a166e03440f74
2019-08-09 02:54:06 -04:00
Alexander Kurtakov
c252113586 Replace ViewerSorter with ViewerComparator.
Change-Id: I3013723be25fef063f382456166f6e5a622316d3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 08:50:29 +03:00
Alexander Kurtakov
2deb211194 Build with CBI plugisn 1.1.7
Change-Id: I9579879757182af8354e7079169accf1b115c6f9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08 16:00:07 +03:00
Alexander Kurtakov
c60a046bd1 Fix vararg warning with 4.13.
While touching the class:
* convert to lambda
* foreach conversion
* remove useless non-javadoc comments.

Change-Id: I3419be135c68829bb98827683bc8fe47c1e2940e
2019-08-08 15:56:36 +03:00
Alexander Kurtakov
3bab315fd2 Build help bundles with 4.13 too.
Change-Id: I42956ddbdd0f23fdac4fc538045787de239bede8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08 15:12:02 +03:00
Jonah Graham
6c34f9bad5 Bug 542488: JTAG debug support based on DAP remote debugging
Change-Id: I035ca6341b8e1dc7273f53da80eb281d7b5e59d4
2019-08-07 00:48:15 -04:00
Thomas Corbat
acbceb04ee Bug 522200: [C++17] Add support for structured binding declarations
Adds support for structured bindings:
- Parser updated
- Semantics updated
- Tests for parser and bindings added

Change-Id: I1de7b760041ac4ce4601f1b5032fdb0a197212a1
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-08-05 09:00:35 +02:00
Marco Stornelli
af88842969 Bug 548902 - Fix exception in override methods refactoring
Change-Id: I2cde109ead8536c048bbe0a08083b36f924e4470
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-08-04 09:53:53 -04:00
Jonah Graham
5414def68f Bug 543711: Provide empty enablements to suppress missing enablements warning in log
Change-Id: Ib3979f577331149eb4d712d1be6d2196f0a431d3
2019-08-03 11:56:41 -04:00
Jonah Graham
f6991baf9e [releng] Update dependencies for 2019-09 M2
Change-Id: I848d106ed1bcf1495c2b5f4c5a606809ca757e54
2019-08-03 11:21:44 -04:00
nickboldt
3ba744c9c8 bump to version 4.5.102
Change-Id: Idc97b3f87d8a937c2fc94d6d98e03014e95dbb27
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-30 13:33:53 -04:00
Nick Boldt
499db8b2b5 Merge "Bug 546291 reflect the state of the active tab on TabScrollLockAction" 2019-07-30 13:31:41 -04:00
Marco Stornelli
cd97ba6ced Bug 549653 - Fix wrapping for lambda expression
Change-Id: I5b879edbcda9c5c1fb0087891391612af2c47d09
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-30 13:53:07 +02:00
Doug Schaefer
b9359d5247 Fix up some problems found against the latest API baseline.
Change-Id: I5679b36166385b617a96ef8180bbd27ae002e900
2019-07-25 10:17:59 -04:00
Doug Schaefer
f96887cb35 Don't add null parser ids to the list of binary parsers.
This started happening when I added the ErrorBuildConfiguration which
returns a null id. This happens when you create a CMake project and
add a new launch target. Not totally sure how we got an error config
for that. Will investigate that later.

Change-Id: I1a4e7c528d2cee101a432d386ad6a7505b9983b6
2019-07-24 22:39:46 -04:00
Jonah Graham
055349a734 Bug 548526: Enable individual mvn projects to be built
Although a little profile "magic" is needed, by adding -DuseSimrelRepo
to the command line to enable and disable the correct profiles
individual mvn projects can be built against the simrelRepo.

This enables, for example, the ability to build the standalone debugger
against the simrel repo without having to change how normal builds are
done by using:
   mvn verify -DuseSimrelRepo -f debug/org.eclipse.cdt.debug.application.product

A simrel p2 site can also be provided with -Dsimrel-site=<url>

Change-Id: I45a636c3c1042bc2fbb6eea5129c6553027e92df
2019-07-24 19:13:44 -04:00
Nathan Ridge
f78158904b Bug 549035 - Constructor with reference to initializer list
Change-Id: I83fd8d2453c36feb51bab80b5bf0943b68a1c97a
2019-07-23 00:49:32 -04:00
Marco Stornelli
4c0e7d9f68 Bug 545959 - Added checker for assignment operator
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-23 00:47:39 -04:00
Marco Stornelli
04350fec0e Bug 376395 - Fix const methods with never join wrapped lines
When at the same time never join wrapped lines and next line
for opening function brace were selected, two tabs were added.

Change-Id: I90f606bf7f8b7bb7e83f3ae85d7cbb9cd0146b97
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-20 10:18:08 +02:00
Jonah Graham
fb05ee51d8 [releng] Bump plug-in version number for bug fix in Bug 549066
See commit 236be726c4

Change-Id: I6d401f46380c5821537184b0d55b2ac748f9986d
2019-07-19 16:07:23 -04:00
Jonah Graham
5c7dbff43f [releng] Bump version to 2.4.0
Change-Id: I8d003bb0c98093bf9f9b108076b10b00f920af6a
2019-07-19 16:05:40 -04:00
nickboldt
d2884b8150 bump to 4.5.102-SNAPSHOT
Change-Id: I1481ac53d6bd5a0c66eced40acfa77a51c3c73f4
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-17 08:09:50 -04:00
nickboldt
a0e9810512 bump to 4.5.102-SNAPSHOT
Change-Id: I12c461c9d05241629442ae84ea1c2f439a23039d
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-17 07:53:45 -04:00
Julien Dehaudt
19351cbc2b Bug 549013 - Eclipse menu won't display on Ubuntu 16.04 LTS when SSH/Serial command shells are opened
Buglink: https://bugs.eclipse.org/bugs/show_bug.cgi?id=549013
Signed-off-by: Julien Dehaudt <julien.dehaudt@st.com>
2019-07-17 11:21:08 +02:00
Doug Schaefer
e744550278 Bug 549014 - Manage CMake toolchain files by toolchain
Use the toolchain type and id as the key to the Map holding the
toolchain files instead of the Path to the file. Also simplifies the
build config since we can always figure out the toolchain file from
the toolchain. Deprecate getting toolchain by path since that shouldn't
be needed any more.

Also took the opportunity to add javadoc to the interfaces.

Change-Id: I11ae2ad8177a3f60399742c8c19576f85ea4b8c0
2019-07-15 16:30:59 -04:00
Doug Schaefer
236be726c4 Bug 549066 - NPE in Launch Bar injection when running headless.
Adds a check that we actually got an application before doing the
injection.

Change-Id: Ie3670f1c35d107f8147799a449498e03b950ac00
2019-07-15 10:10:12 -04:00
Jonah Graham
eb4f8e4e9b [releng] Update to 2019-09 M1 dependencies
Change-Id: Ic5edbb2c3c435f57d1c0fa2bc2e3044e13739cc8
2019-07-12 10:05:55 -04:00
Marc-Andre Laperle
cf9922cd2f Increase PDOM version to force rebuild for bug 549028
Change-Id: If18da2b194515c64351ed61b149593566afbc7d8
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-11 00:20:44 -04:00
Nathan Ridge
1ea6dac9af Bug 549078 - ArrayOutOfBoundsException in AbstractIndexerTask.IndexFileContent.merge()
Change-Id: I7ceacfc9c14e10bdecf7dda3c793a3ed26559bc2
2019-07-11 00:00:06 -04:00
Marc-Andre Laperle
76b7b64307 Bug 549028 - Fix missing getRecordSize() leading to index corruption
Because of the missing getRecordSize implementations, subclasses would
starting writing in records that were thought to be malloc'ed by
the parent but it was instead writing in other blocks, possible used
by other PDOM objects or free blocks to be used later and now not initialized
to 0.

This could lead to a few different exceptions like
- BufferUnderflowException(Chunk.getChars)
- CoreException: Corrupted database
- ArrayIndexOutOfBoundsException(AbstractIndexerTask$IndexFileContent.merge)
and possibly others.

Change-Id: Ie6d1986a22a9fb5f5e90cb741046d098ebf10a90
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-10 21:52:38 -04:00
Jonah Graham
577061ac79 Bug 542488: Feature for DAP in CDT
Change-Id: I981660855f9f0305d0c08af5eb361cadbde9b86c
2019-07-10 18:23:38 -04:00
Jonah Graham
bf327ec364 Bug 542488: Memory view support
Change-Id: I8c3343f0ead46ab203d58f77370dd2dadda550ff
2019-07-10 18:23:38 -04:00
Jonah Graham
d7b7f10255 Bug 542488: Initial/rudimentary version of DAP integration
README:

Create a C/C++ Application launch as normal, and in the Launch
Configuration dialog click "Select other..." at the bottom/center
and selecting GDB (DAP) Debug Process Launcher
(you can't do this in the LaunchBar's dialog as it does not support
changing the launcher).

Then debug as you normally do (with less features so far :-)

Change-Id: Ia36acedf064b3774c6ac2a863880eaf7efe9c399
2019-07-10 18:23:38 -04:00
Jonah Graham
f96971a278 Bug 542488: Remove duplicated code
When DSF was first created it was a separate project that borrowed
heavily from CDT, as such (AFAICT) some code was copied from
o.e.cdt.launch to DSF. This commit de-duplicates some of that code
as the DAP implementation wants to reuse the code too and another
copy is not wanted.

Change-Id: Ie54187dabc9c32224575c0bf51bcabfab00ca340
2019-07-09 21:17:22 -04:00
Jonah Graham
edfc7d4c0e Fix generic and other warnings
Change-Id: I77173712bf2b775eae5573f0abfb7f9900123438
2019-07-09 21:17:22 -04:00
Jonah Graham
1d4e938383 [releng] Bump version number to 1.1.2
Also add some consistency to version numbers.

Change-Id: Idc0eda9f1609deaa870482433906f00138fac1b2
2019-07-08 20:26:48 -04:00