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

3623 commits

Author SHA1 Message Date
Marc-Andre Laperle
d1bb47e1ee stand-alone debugger: Add missing launchbar dependency
dsf-gdb now requires launchbar.core

Change-Id: Ia88aaebefb165ae76cdca355e72f2aba4e6d0a0c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-02-01 16:43:57 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Jonah Graham
28b1830acf Bug 484911: Clean up source directors
Includes:
- CSourceLookupParticipant only did one useful thing (For DSF). When the
object being looked up is a String, as is the case when disassembly
view/editor is doing a lookup, the CSourceLookupParticipant would be the
one to do the resolution. Updated
DsfSourceLookupParticipant.getSourceName to be able to handle a String
- Changed super of DsfSourceLookupParticipant to
AbstractSourceLookupParticipant, saves duplicate code, and adds comment
about what is different about findSourceElements
- a previously missing test for an unusual case (no containers)
- Some of these methods that are only part of CDI have been
marked as such for eventual removal in Bug 484900

Change-Id: I9954b4469e9db9cb46eb117f3beba9e01634689b
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-17 10:11:41 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Alexander Kurtakov
8a834d5970 Cleanups.
Remove useless:
* casts.
* suppress warnings unchecked.
* @see comments 

Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 11:06:00 +02:00
Sergey Prigogin
871e7abcd0 Cosmetics.
Change-Id: I3bdff42323e40f5440b20bfde2efa7658f0d680b
2015-12-10 18:53:15 -08:00
Sergey Prigogin
992e4b61eb Cosmetics. 2015-12-10 18:42:06 -08:00
Sergey Prigogin
e2f375fc86 Code cleanup.
Change-Id: I8425c6995bad38758234a2bdb43f5bab8cb244d7
2015-12-03 18:59:45 -08:00
Alena Laskavaia
9e38beb510 incorrect source lookup fallback when file is not in workspace
Change-Id: I9f7c5f3c46a26053123d28f30a7b8712eb8c9254
2015-11-25 20:46:02 -05:00
Marc Khouzam
0a04f1aba9 Remove visualizer plugins from Stand-alone RCP debugger
The RCP stand-alone debugger does not have the multicore visualizer
plugins but does have the visualizer plugins.  That means a user can
open the Visualizer view but nothing will display.

We could either add the multicore visualizer plugins or remove the
visualizer plugins.  To follow what the stand-alone script does, this
patch removes the visualizer plugins.

Change-Id: I90075c7fc5c87f21c0b697f81c45abf1d0395218
2015-10-28 14:32:29 -04:00
Marc-Andre Laperle
98dee4063b Remove some unused images in documentation plugins
I used a simple script:

    for every file name of a given extension {
      grep for the file name usage
      if no result {
         delete it!
      }
    }

I only deleted things under the documentation plugins, to be safe.
This results in about 8MB of deleted images.

Change-Id: I566b8b1ff396b67689d273fc6e827dd3a02ad991
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-16 18:19:52 -04:00
Marc-Andre Laperle
803bf0db80 Bug 458771 - Cannot refresh an editor in standalone debugger
-Add Refresh command to File menu.
-Enable 'Refresh on Access' by default, like Eclipse for C/C++ package
-Reorder the File menu a bit so that Exit is last

Change-Id: I3636cd20da1a2523ca1574674cf6ebc59a124860
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-13 16:39:36 -04:00
Marc-Andre Laperle
886cc17c35 rcp: Fix stand-alone build with Eclipse 4.6 target
Change-Id: I8dc5fdd98add54f34ee0d5b8d833c058ceae0f59
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-05 15:17:36 -04:00
Jonah Graham
cc2099c4a0 Bug 478803 and Bug 478805: add tests for source lookup
Change-Id: If47f62a46164e4098e663f1eef1a0a8640a84009
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-10-01 22:31:39 +01:00
Marc-Andre Laperle
3415575b19 Add Error view to Stand-alone debugger
Add Error view to both the rcp and the script.
Also update the script to include com.google.gson which is required by
cdt.core.

Change-Id: I3975420cff8c912c07949384226bfa655a1a10e3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-28 22:53:20 -04:00
Martin Schreiber
2cf6b41bd2 Bug 474946 - Initialization Code must be run asynchronously
Do the initialization asynchronously. If the service was initialized
during this class gets instantiated, it was re-instantiated and so a
StackOverflowException was produced. Now the initialization is done
asynchronously.

Bug: 474946
Change-Id: I15356c5f6e450d825d4f8615e2fba177409f5894
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2015-09-22 17:03:44 +02:00
Marc-Andre Laperle
5ffc733ead Bug 477082 - Cannot set a proxy for RCP standalone debugger
Change-Id: I0e00b67ad513583d077a7e3470d321cd90435a33
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-15 16:27:42 -04:00
Marc-Andre Laperle
6eb465170a Bug 477112 - Fix compilation error caused by JFace TableTreeViewer removal
Change-Id: I8b6c082668dc6a197b8a771ae261fe76a1e2a18d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-11 17:04:24 -04:00
Marc Khouzam
12c4de0f27 Bug 476589 - Cannot open a trace file in a post-mortem session
Change-Id: I4de8b1690396acd78f446803f5b3ba3886a58925
2015-09-03 21:04:48 -04:00
Jonah Graham
bd6fa94e63 Bug 474179: Require file name to be absolute and exist
When a file is not found, the debugger will be used to resolve it to an
absolute file. One of the side effects at the moment is that no
breakpoint marker is created in the editor for the file. To mitigate the
situation and reduce user confusion, until installed breakpoints can be
displayed in the UI don't allow users to create breakpoints on
non-absolute file names. 

Change-Id: Ib69bfdfcde0c83fe6e20cacb0850d8ee907583a1
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-08-17 09:50:26 -04:00
Alvaro Sanchez-Leon
93b7f29f9d Bug 474054 - Null Pointer Exception in "Properties for C/C++ Watchpoint"
when deselecting the "Range" check box

Change-Id: I3ba0cac2bd3e8f9e52378d9d5cc0c25981369a6a
2015-08-03 08:42:02 -04:00
Marc Khouzam
be1be83027 Typo in copyright header
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-31 14:16:58 -04:00
Alvaro Sanchez-Leon
abe742264a Update plugin dependencies for the Stand-alone debugger RCP
This change will make it work when launching from Eclipse
This is not necessary when building as tycho resolves the dependecies

Change-Id: I914405e3a1fc43238717fd05b872584fc0c1c561
2015-07-30 11:10:10 -04:00
Marc-Andre Laperle
c137a9dfbc Build stand-alone debugger RCP for Windows
Change-Id: I50dae8e3cfb47c4db7f0354e57753055958e3d2c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-28 23:21:29 -04:00
Anton Leherbauer
124ba056ee Follow-up on bug 439631 - escape also the path for function dynamic printf 2015-07-27 12:43:47 +02:00
Anton Leherbauer
10079aca6b 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>
2015-07-16 15:37:36 +02:00
Anton Leherbauer
e78acb4fdf Validate breakpoint string fields also on mouse clicks 2015-07-14 16:29:21 +02:00
Anton Leherbauer
7861db94e1 Fix capitalization of Run to Line, Move to Line, etc. 2015-07-14 15:14:38 +02:00
Marc-Andre Laperle
6730366662 Upgrade to Tycho 0.23.0
Change-Id: If46a379b55d533eb2d963f626ebadab6addd5135
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-07 13:43:47 -04:00
Marc Khouzam
2b21405150 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>
2015-06-12 16:08:26 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Dan Ungureanu
8de376b2d9 Bug 466543. Fixed matching error while importing breakpoints
Change-Id: I0607053c62b37b614665c58c520a77b8713a248e
Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com>
2015-05-27 23:10:30 -04:00
Jonah Graham
8328943db8 Bug 464917: Add Line Breakpoint dialog and Breakpoints view menu item
line_brkpt_co.gif is edited version of function_brkpt_co.gif

Change-Id: Ifb74e86e1033a11e319c643f9ba1a7034a983173
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-25 10:03:23 -04:00
Marc Khouzam
021fc9cc0e Typo in copyright header date
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-21 16:08:53 -04:00
Marc-Andre Laperle
45abca9bdb Bug 460167 - RCP for the Stand-alone debugger
This patch creates a product so that the stand-alone can be downloaded
without
the rest of the C/C++ EPP. It also makes it easier to use because the
user only
has to launch the executable, just like a regular Eclipse instead of
finding
the script.

To try the RCP:

mvn clean package -Pbuild-standalone-debugger-rcp

The result (tar.gz) is available under
debug/org.eclipse.cdt.debug.application.product/target/products
Once extracted, it can be started just like the normal script:
./cdtdebug -e myexecutable

Change-Id: Ifb849af8a8f2ec03abcae57cf43d57cde2333759
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-19 14:29:06 -04:00
Marc Khouzam
fdf3867071 Bug 467109 - Add new dependency to standalone debugger.
Looks like platform 4.5 now depends on
org.eclipse.e4.core.di.annotations and some others

Change-Id: Ic7ecde8e52c825a563956ffeb1b56407f6d98325
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
(cherry picked from commit 0434220f80)
2015-05-13 14:01:40 -04:00
Jonah Graham
71d0155caf Bug 464919: Set REQUESTED_* fields to initial values
When creating BP with dialog, make sure it starts out as
not-relocated.

Change-Id: Ia5b703315ce4a6ea55bac584097b255f08b19b17
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 12:14:35 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Marc Khouzam
6b134ee043 Bug 464636 - Move CMainTab from o.e.cdt.dsf.gdb to
o.e.cdt.launch.CMainTab2

Change-Id: I5f0cf6d03858e78d95da5356dad36930ed4877b2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:00:36 -04:00
Jonah Graham
f6cc476a95 Bug 464918: Fix broken externalized strings
Change-Id: I7e1aad4553b7c370618f80d3fd611649bed9b819
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-04-20 13:42:56 -04:00
Marc Khouzam
a04d64606e Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:39:17 -04:00
Marc Khouzam
ef53a9fa4d Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:30:53 -04:00
Marc Khouzam
be8aecb3af Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:28:37 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Marc Khouzam
d266f8656e Remove unnecessary .api_filters
Note that
memory/org.eclipse.cdt.debug.ui.memory.traditional/.settings/.api_filters
needs to be kept because:
1- it removes warnings about implementing provisional APIs
2- that plugin sets warnings as errors, so warnings are not allowed

Change-Id: Id4bcc9cd78c4c6678ef749cfe276e5a9945efa1e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-11 15:48:32 -05:00
Marc-Andre Laperle
afd11359e6 Extract test VM args to common property base.test.vmargs
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.

Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Marc Khouzam
7f0174bec5 Update description of Standalone Debugger SDK
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-05 14:28:14 -05:00
Marc-Andre Laperle
619216fca4 Add build flag (-DskipDoc) to be able to skip building documentation
Building documentation can take several minutes and is often not necessary.
I suggest that we leave it on by default so that people building locally
still get a full, consistent build of CDT but that it should be possible to
skip it on demand.

My build time went from 4:14s to 1:45s (without running tests).

Change-Id: Ic7c4535f3faf82080534d39ccbe6f452d8b52317
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 22:07:31 -05:00
Marc-Andre Laperle
c6156d2ee6 o.e.cdt.debug.application should export its packages
Change-Id: Ifeb5f78d776eca939187738180434000b0b2f8b2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 17:42:05 -05:00