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

3602 commits

Author SHA1 Message Date
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
Jeff Johnston
f433cb1e85 Bug 458066 - cannot specify pid to Standalone Debugger
- allow pid to be specified following -a option for Standalone debugger
- if pid is specified, use it to set the ATTR_ATTACH_PROCESS_ID
  setting for the launch configuration
- setting the pid will cause the process dialog not to appear and
  the debugger will attempt to debug the given process
- an invalid pid will result in in the dialog being opened
- the pid is not used with the -r option and is ignored
- updated the README file and docs

Change-Id: I5a1d39f97285ad41dcb986dfb4692f9d808bafeb
2015-01-29 17:24:25 -05:00
Jeff Johnston
c9f9ee1bb9 Initial Standalone debugger SWTBot test
- includes a launch configuration for launching directly from
  an Eclipse session

Change-Id: I238e72894b739f827dd6efba3acef9d304771f0d
2015-01-22 15:00:53 -05:00
Alena Laskavaia
8db788ee92 Bug 214398: Implement Load Symbols and Load Symbols for All
- switched default ui from actions to commands
- for DSF implemented this in DSF GDB
- for CDI implemented command wrappers
- created new API to support loading symbols in IModules service
(IModules2)

Change-Id: Id44f42fa9f0f3d7f22ff7dda07c0830262667d9c
2015-01-19 14:58:18 -05:00
Sergey Prigogin
2dbdd831ec Cosmetics. 2015-01-08 16:14:17 -08:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Doug Schaefer
1681eb8676 Revert "Bug 451929 - Leverage p2 ability to express native packages"
This is breaking downstream builds.

This reverts commit 18e6101a53.

Change-Id: I5dd2ee129518757866ab832c683b648d13b07b83
Reviewed-on: https://git.eclipse.org/r/38594
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-23 00:05:47 -05:00
Pascal Rapicault
18e6101a53 Bug 451929 - Leverage p2 ability to express native packages
Change-Id: I0d2d4b5088a0148d3f0dc7690448fe231ae45103
Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
Reviewed-on: https://git.eclipse.org/r/38272
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-16 17:28:33 -05:00
Marc Khouzam
6004528ff6 Update to new CDT Logo
Change-Id: Iac76b204027efa01c8f848050a36d05022ecdf86
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38363
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-12-16 13:29:12 -05:00
Anton Leherbauer
e11e3d082e Bug 439631 - [dynamic printf] Backslashes in the file name should be escaped
The default dprintf string on windows contains backslashes which cause
unexpected results when printed.
2014-12-11 14:11:40 +01:00
Alvaro Sanchez-Leon
3ab1678bc3 Bug 235747: [registers] Allow user to edit the register groups.
Bug 235747: Move register group actions to the command framework.

Change-Id: Ife5aefc1a1609309724db01d92a35750e25def24
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13980
Tested-by: Hudson CI
2014-12-09 10:37:26 -05:00
Marc Khouzam
73c1e5e224 Bug 450080 - Add option for remote launch to stand-alone debugger
Change-Id: Ifcbfd598d90305ac24bddf96893d4170201858c9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36700
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-11-28 18:08:38 -05:00
Sergey Prigogin
30c61470fb Cosmetics. 2014-11-24 18:12:08 -08:00
Marc Khouzam
39b1ed1b97 Setting preferences for standalone debugger plugin.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-20 11:07:36 -05:00
Alena Laskavaia
4e7fd1ddaf fixed NPE in DebugStringVariableSubstitutor when var cannot be resolved
Change-Id: I5fe8f640e6dbf1673d32d6dec14aa2f9190a71de
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/36405
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-14 09:53:32 -05:00
Marc Khouzam
13b0270d5c Replace hard-code launch types with their constants.
Change-Id: I05f25d4429c110c07a000328cfc64646a17a059b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-13 16:33:53 -05:00
Marc Khouzam
bb5d400d4f Cleanup commented printouts
Change-Id: I2c0850456401cde432b3489f334614e06e27d58c
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36270
2014-11-13 15:24:47 -05:00
Iulia Vasii
4b833a066a Bug 446013 - Improvements to CDT launch configurations context help
Link "C/C++ Application", "C/C++ Remote Application" and "GDB Hardware
Debugging" launch configurations tab groups to existing "C/C++
Development User Guide" documentation.

Change-Id: I8220fe14ab22f14167ee2026c4a1f93b3cc7cd3e
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34433
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-11-04 09:32:21 -05:00
Marc Khouzam
5a5b004e3f Bug 449224 - Fix for NLS'd plugin and
provider names

Change-Id: I27bf6d3ce062359e7eea47b728e5254578d8decb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-29 13:44:12 -04:00
Teodor Madan
afa28a8945 Bug 445375 : Watchpoints cannot be disabled for targets that do not
support it

- add canPerformAction abstract method in base object action delegate
class
- add CToggleWatchpointActionDelegate that would also trigger
interactive triggering of watchpoints vs non-interactive.
- Check in each method & watchpoint delegates if
IToggleBreakpointsTarget does support the action
- Do not create duplicate watchpoints/breakpoints when toggling them
interactively

Change-Id: Idb1baaf171173b2d824a7cc50c8fe65e613f81aa
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34061
Tested-by: Hudson CI
2014-10-14 10:46:20 -04:00
Jeff Johnston
98ff5df1a1 Fix standalone feature names in their .project files.
Change-Id: I0602133925319f06de9b7139d698d88ca284cc3d
Reviewed-on: https://git.eclipse.org/r/34505
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-10-07 14:57:23 -04:00
Teodor Madan
ce15475828 Bug 445357 Fix breakpoint set on external files
- In case IDeclaration has no underlining resource, get resource from
editor utility support, in the same way as toggle by line

Change-Id: Ic0de58e9f8c1e671911b56f131b01937d8b982fd
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34050
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-30 02:42:02 -04:00