1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

3907 commits

Author SHA1 Message Date
Jonah Graham
d907da99a4 Bug 573677: Use array based exec commands to avoid problems with spaces
While most of these commands don't actually have spaces in them, or
their arguments, avoid the deprecated methods.

Change-Id: If7b4324695699d5a6d9a2f8a979657977486d8a4
2021-06-14 22:20:28 -04:00
Jonah Graham
902ea0dfa1 [releng] Bump to CDT version 10.4.0
Change-Id: I0807f46d9ebb8bb579b687366cdb19e40935a9ec
2021-06-12 20:52:54 -04:00
Jonah Graham
4e07f56f0d [releng] Update to newer help-docs-eclipserun-repo
Change-Id: I46118a378e4edf319292a91483df27221c910839
2021-06-12 20:13:23 -04:00
Anton Backstrom
01cc2ac4d2 Bug 573696: add dummy listener to DebugPlugin
Change-Id: Ic8603d82dd9aaeaec845a9ca33ee715b63a901fd
Signed-off-by: Anton Backstrom <anton.backstrom@gaisler.com>
2021-05-25 16:44:48 +02:00
Jonah Graham
7743993a08 Bug 572880: Keep internal representation of opcode as a String
We receive a string from GDB and then display the same string to the
user. So instead of converting it internally into a Byte[] to then
convert it back into a String, keep it as a String.

This fixes a regression where some GDBs' output format was not as space
separated 8-bit-bytes, but as words or similar.

Change-Id: I4ea241ff9ea45165489604fee26a3593ec3f6756
2021-05-19 09:32:42 -04:00
Marc Ernst
766d6fec6a Bug 572880: show opcodes in disassembly view as byte sequence
Change-Id: Ib7ad37968ab23ff22cbb1fc110e85b47ffc37ab8
2021-04-23 16:11:35 -04:00
Jonah Graham
bbe89c853e [releng] Update to newer help-docs-eclipserun-repo
Note that:
- doc/org.eclipse.cdt.doc.isv
- doc/org.eclipse.cdt.doc.user

were updated in commit 149aca51f9 made
this release cycle.

Change-Id: I5b19c7ba14d1c3f837163c109603f9a330e9f138
2021-04-12 09:28:45 -04:00
Jonah Graham
83d4fa001e Bug 572581: reenable disabled DSF-GDB tests
Many of the disabled tests were failing because they were dependent
on specific combinations of GDB + GCC and where exactly code
stops and steps effect when entering functions. The old code
mostly ran to a function and then stepped a known number of times.
But what changes between GDB versions is how many steps are needed.
Therefore for all failing tests update to run to a specific line
number by using tags in the .cc file and running to them to make
sure the test is precisely on that line.

This partially reverts commit 8220215a2e
and 92272c6465

Reason for revert: These tests were "temporarily" disabled a while ago
as part of the JIRO migration in Bug 545624.

Change-Id: I703429c8a81c856360f1cb4e899026200527f7c6
2021-04-09 20:51:00 -04:00
Jonah Graham
7ef7f04d0c Remove launch files that have little value
These launch files are basically all defaults and fill every devs space
but no one is running them on a regular basis.

Change-Id: I194dadd2ca55a20489935e690e3cd94357026389
2021-04-06 13:38:01 -04:00
Alexander Fedorov
8dbf024ab8 Bug 572552 - CDT releng: update versions to 10.3.0
Added missed license headers
Updated baseline for the parent pom to CDT 10.2
Updated version for pom.xml to 10.3
Updated version for features and bundles to CDT 10.3
Updated copyright for about.properties to be 2021
Incremented version + 100 where needed

Change-Id: I79666fcc0402fee6607499d7dce1eaf87a5f446d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-04-04 16:17:25 -04:00
Jonah Graham
7d2e842884 [releng] Update comparator.repo to latest released CDT
Change-Id: Ib2fc576e4d6f79f8b5303032e7e27f73f5b7e45b
2020-12-19 13:01:44 -05:00
Jonah Graham
c248620053 [releng] Increment feature and related versions to 10.2.0
Change-Id: Icd135a588920fa25fd846dc285db5f83e5ac7037
2020-12-19 12:11:25 -05:00
Jonah Graham
a469af6bf3 [releng] Update to newer help-docs-eclipserun-repo
Change-Id: I5cc8b6d66ace35eea397a781739dc27def4df3f9
2020-12-19 12:11:25 -05:00
Jonah Graham
2cac529ee0 [releng] Updates of deps and repos for beginning of CDT 10.2 cycle
Change-Id: I65dd3c31e598b013935cf6b221eb098f77ce75f9
2020-12-19 11:28:31 -05:00
Jonah Graham
409a830c39 Bug 568375: Consistent versions for use of JAXB libraries
Change-Id: I86a6def37aed6c30a7591fd8dde4c174f6af98bb
2020-11-19 14:31:30 -05:00
Torbjörn Svensson
e632011f2c Bug 568728: Drop execute permission on files
Add enforecment script that verifies that only specified file types are
allowed to be mared as executable.

Change-Id: I4b40e3a46b03bfc78a9dcd52e8bf29cb079b7f3b
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-11-18 17:38:22 +01:00
deepamin
477fdab7a1 Bug 568517: Module information for Breakpoints
Change-Id: I9751d2d921026b5f0052c7112ef69e975f7a44fe
Signed-off-by: deepamin <deep.amin@intel.com>
2020-11-05 10:12:09 -05:00
Alexander Fedorov
87dff3db99 Bug 567966 - CDT code clean up: type safety warnings
Generalize the type of elements and resolve type safety warnings

Change-Id: I5cb8d06a80207a7df8240f499936cdc49d49964c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-10-24 07:01:13 -04:00
Jonah Graham
3a6fd58665 [releng] Update help-docs-eclipserun-repo to use Platform 4.17
Change-Id: I85f28fe919b68fc222acb90850fc538941c3a826
2020-10-12 10:39:13 -04:00
Marc-Andre Laperle
fa270ed30a [releng] Update plug-in versions
Version changes are all to refect non-API changes (micro version)

Change-Id: I372aa2671a4c7f5c765a42156d3f639b8eaff680
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-10-06 16:20:18 -04:00
Jonah Graham
24639efcee [releng] Bump version to 10.1.0
Change-Id: I39f7c379c0b43c086a25b047b3af564f6f24d670
2020-10-06 16:20:18 -04:00
Jonah Graham
6084acb880 [releng] Exclude Makefiles from compare-and-replace check for DAP
The generated elf file is still checked, but the makefiles are auto-
generated and have full path names in them, meaning that different
Jenkins jobs (with different workspace paths) cause a difference.

Change-Id: Iaa2eab80ba4b116c06ff1f765160a8580c0dafff
2020-10-06 14:05:41 -04:00
Jonah Graham
c378a6747a Bug 565836: Add aarch64 for standalone debugger
Change-Id: I3cbbbf98778870ad2be30318a44575adf0308f2e
2020-09-03 21:32:38 -04:00
Jonah Graham
88b2322c38 Bug 551817: Fix legal docs - and automate their checks
Change-Id: I6f97927f0df64a28e71a2d7ab4c55b609794f751
2020-08-30 23:15:59 -04:00
Jonah Graham
0cb1f7482a Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects
Includes updates to code cleanliness script

Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-30 20:02:41 -04:00
Torbjörn Svensson
4376632208 Fixed "Dead code" compiler warning
Change-Id: Idc18751d1bcd59a8fa49529731e11dce354b925a
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-28 21:19:14 -04:00
Torbjörn Svensson
8e42cc8b7b Cleanup of PTY class
Change-Id: If04a3ccbc178040d4929767ef1f4c0f1672dfae9
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-28 10:25:08 -04:00
Jonah Graham
0c5093d6ff Bug 566334: Turn on API Tooling & Analysis for all bundles
Change-Id: I3cb5645eba52b0cd0e9a71069264d9c589159107
2020-08-24 17:50:56 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
Martin Weber
9e303185f9 Bug 564002: Restore the default pattern of the surefire-plugin
Sets the pattern to the default of upcoming tycho 2.0 in advance.

Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
Change-Id: I31b3fc733d0cb888fbf6f566995ce2043f6cd621
2020-08-13 14:18:47 -04:00
Deep Amin
35afa5764c Bug 315774 - Allow force refresh of Disassembly view.
Change-Id: I8900528d1051f37d470e53800ad0ad60821ae8f4
Signed-off-by: Deep Amin <deep.amin@intel.com>
2020-07-29 15:29:37 +02:00
Alexander Kurtakov
080b4ba90d Set maven-antrun-plugin to 3.0.0
Don't overwrite it in plugins as version is set in
parent/pluginManagement.

Change-Id: I73d2b4d234ba83eae7ec2cd51f3e53d58256b81e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-07-22 09:30:30 +03:00
Alexander Kurtakov
d593c7a25f Build with Tycho 1.7.0
Get rid of tycho-extras-version as there is no more tycho-extras.

Change-Id: I9d215aad94c4e8320153f06368d6b3ecfa4a3c42
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-07-22 09:21:27 +03:00
Alexander Fedorov
063301deca Bug 565144 - CDT.setup and .target should be configured for 2020-09
Changes for .setup and .target
* add "com.sun.jna" bundle from Orbit
* add "com.sun.jna.platform" bundle from Orbit

Changes for "org.eclipse.cdt.debug.application.product":
* remove "org.eclipse.update.configurator" bundle
* add "org.eclipse.jface.notifications" bundle
* add "com.sun.jna" bundle
* add "com.sun.jna.platform" bundle

Change-Id: Ic1a0b2d6d5189c9f3652def987d3c6a0daa4c7ee
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 19:10:58 +03:00
Torbjörn Svensson
39d3bfcc4f Fixed NLS warnings, potential NPE and removed excess semicolon
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I266a72dadae318ae301ca11d2ea2d74082219a24
2020-07-08 05:06:02 -04:00
Jonah Graham
12cf801870 Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
2020-06-13 16:21:05 -04:00
Jonah Graham
c0ffeb6474 Bug 563864: By default fail build on test failures when building CDT with maven
Change-Id: I9bd3db3850cc45abb0ea53f8885a331c7f327887
2020-06-02 15:26:57 -04:00
Alexander Fedorov
825f88f49a Bug 562790 - Switch CDT 10.0 stream to Eclipse Platform 4.16 M2
Updated Eclipse Platform according to
https://www.eclipse.org/lists/eclipse-dev/msg11376.html
using
https://download.eclipse.org/eclipse/updates/4.16-I-builds/I20200501-0520/
Added "org.eclipse.urischeme" bundle to debug.product definition as it
now required for E4 SWT Workbench

Change-Id: I1d2f634db29271590d93abccde6282c05423ff4f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-05-07 02:34:05 -04:00
Jonah Graham
0ab57c346a [releng] Remove and add .prefs files according to improved cleanliness script
Change-Id: I9bc8364cda1a1154750127f5db5549073323e84c
2020-04-26 14:52:45 -04:00
Alexander Fedorov
a92105a031 Bug 562164 - Add JUnit tests for IMemoryImporter implementations
The following changes are done to make the implementation headless and
testable:
* Reworked FileImport to implement base flow
* Added ImportRequest to aggregate operation configuration
* Extracted PlainTextImport extends FileImport
* Extracted RawBinaryImport extends FileImport
* Extracted SRecordImport extends FileImport
* Extracted FileImportJob
* Added ScrollMemory to interact with UI
* Added WriteMemoryBlock to isolate from UI class BufferedMemoryWriter
* Reworked related i18n

Change-Id: Ibd68c0e345e9455f5f8a2e1be673ddac5eb9a9b1
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-22 14:27:50 -04:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04:00
Marco Stornelli
31b748e7b9 Bug 510789 - Added final field to class wizard
Change-Id: Ib2f0168b897e665f3577511144692bb446d5ab84
2020-04-09 06:44:42 -04:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Jonah Graham
ce109e81cc [releng] Update help-docs-eclipserun-repo to use Platform 4.15
Change-Id: I4fcfba2b33ea511d58856ed2c3c6e51322661708
2020-03-22 13:33:47 -04:00
Jonah Graham
3fa2f45e08 Fixup versions on Revert "Bug 560614 - Drop dependency on ICU4J"
Change-Id: I837592950482cc1872fdafb73fc7e9a01292a7ed
2020-03-02 12:47:54 -05:00
Anton Backstrom
a41ea21383 bug 560275 - Move watchpoint type check into labelprovider adapter
This makes it possible for a user to subclass CBreakpointPropertyPage
and use their own adapter to decide the breakpoint label for
watchpoints.

Change-Id: I086179c6b5561b77410fd2a6f7d77bb6084d94d4
Signed-off-by: Anton Backstrom <anton.backstrom@gaisler.com>
2020-03-02 06:59:30 -05:00
Jonah Graham
5a6b9b4bf4 Revert "Bug 560614 - Drop dependency on ICU4J"
This reverts commit 87b627bf02.

Change-Id: I54ea1ac766437deb174eeba571a7a5094c180828
2020-03-02 06:49:24 -05:00
Alexander Kurtakov
87b627bf02 Bug 560614 - Drop dependency on ICU4J
Straightforward conversion. Still usages left that need deeper
investigation how to be done proper.
Some long time commented code removed as java formatter breaks trailing
whitespaces on save.


Change-Id: If74259bed5735b0d4cc98fc2cfa609c9c53c80c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-03-02 06:46:15 -05:00
Alexander Kurtakov
eb1b8a0dc3 Move away of deprecated tasks in maven-antrun-plugin configs.
Change-Id: Ife9d0198723d08759f08f074909b3fe2c7f62eaf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-05 21:29:48 +02:00
Alexander Kurtakov
f90f900e48 Move away of the deprecated AbstractUIPlugin.getWorkbench
Use PlatformUI.getWorkbench instead.

Change-Id: I8c0eb2c4b3b414e61f03fc9d9becd1d574f7e26d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-04 14:43:53 +02:00