1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
Commit graph

1212 commits

Author SHA1 Message Date
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
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
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
Sergey Prigogin
30c61470fb Cosmetics. 2014-11-24 18:12:08 -08: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
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
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
Anton Leherbauer
f3860cc65b Bug 444736 - Importing a subset of exported breakpoints often logs exceptions
This fixes also 
Bug 413787 - Occasional "Breakpoint does not have an associated marker" in the log
2014-09-26 08:28:46 +02:00
Marc-Andre Laperle
db33c12332 Bug 355165 - Cannot insert breakpoint when org.eclipse.cdt.debug.ui is not running
Change-Id: I6b4be0afb35ae94e6bd6d957e94f65e5f3cc2559
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33626
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 15:50:51 -04:00
Marc Dumais
ce5a26d6ce Bug 441713 - [visualizer] Make pinning of multicore visualizer view
possible

Change-Id: Ie47c21c35dc85d4efd34f273f8f0a51d4e82d16a
Reviewed-on: https://git.eclipse.org/r/31898
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-08-22 07:07:57 -04:00
Marc Dumais
2af299938c Bug 436095 - [visualizer] Make cloning of visualizer view possible
Change-Id: Ic77a218c513c7066a3f7300bb76aa85359ce0852
Reviewed-on: https://git.eclipse.org/r/28807
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-08-14 14:25:04 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Iulia Vasii
13c929ccdf Bug 437065 - Import executable wizard will not warn user that there's
already such file in existing project

Change-Id: Id75e97943f6f5a82bd1e731fd4e64a89eeb54fbf
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
Reviewed-on: https://git.eclipse.org/r/28344
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-07-11 09:24:06 -04:00
Marc Dumais
42f137042f Bug 437692 - Refactor OpenNewViewActionDelegate to permit
programmatically adding OpenNewViewAction to view toolbars/menu

Change-Id: I7adc6e0e70206bd3671011632300816636dab450
Reviewed-on: https://git.eclipse.org/r/28709
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-07-04 12:58:05 -04:00
Simon Marchi
87ffdc164c Bug 437182: Display as array: make error messages match field names
It seems that the fields were previously named "first index" and "last index".
Now they are named "start index" and "length".

Change-Id: Ic913f3df8b542395a73074f0803875a11fdc8450
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/28286
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-06-12 22:03:31 -04:00
Marc Dumais
d642797a86 Bug 436879 - 'connect' button sometimes disabled when it shouldn't be
Change-Id: I1912ed6fa5fe7930b8af075e92aa3acf66645eb6
Reviewed-on: https://git.eclipse.org/r/28341
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 43e5ce87e6)
Reviewed-on: https://git.eclipse.org/r/28359
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-06-11 10:34:30 -04:00
Teodor Madan
13626ab74c Bug 433761 - Breakpoint Actions Dialog should not allow creating unnamed actions
- Add validator and error decorator for breakpoint and tracepoint action
name editor
- Generics Warning Cleanup from BreakpointActionManager; avoid spawning bp
  action execute jobs in lack of any actions
- MIBreakpointsManager - avoid spawning needless job when there's no
breakpoint to execute actions for

Change-Id: Ibe29b97e4f3a86d5429e3f71aae728dd7e31b97b
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/25768
Tested-by: Hudson CI
2014-05-05 06:54:27 -04:00
Marc Khouzam
2c2e4c5b96 Bug 400628 - Support Dynamic Printf
Change-Id: I1e030d05b482fef29ef7128d5a897544a0f85ca6
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/10746
Tested-by: Hudson CI
2014-05-01 16:05:03 -04:00
Anton Leherbauer
0152c28c22 Bug 433308 - Always show the Common page initially for new breakpoints 2014-04-24 14:17:48 +02:00
Marc Khouzam
d199768e64 Bug 432503: Should not create two bps at same line with "Add breakpoint"
Change-Id: I30d70c5500687f5169e6dcb738bde9b4e60a5ff0
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24851
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-04-17 13:04:46 -04:00
Teodor Madan
90f0e17976 Bug 432734 - Infinite loop retrieving disassembly when debugging
optimized code with GDB

Implement IInstructionWithSize#getSize() for DSF-GDB backend.

Change-Id: Id2daa9f5924caee975ce69c5d7e4ffd9cab0b103
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/24962
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-14 11:09:47 -04:00
Marc Khouzam
99df1091ec Fix warnings
Change-Id: I01ef374f21726c7f274a446c10674dce8e8ec591
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:25:31 -04:00
Marc Khouzam
b647093b94 Remove unused API filters
Change-Id: Ia3a53fec79973ccdec7d74d68fcc4f4621fe1cc7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:24:47 -04:00
Marc Khouzam
157bba8839 Typos
Change-Id: I4b6eab2359c0b96daf905357eac17a4f38867fc6
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 05:26:53 -04:00
Anton Leherbauer
c3e9df032b Bug 430117 - "Connect to Process" is always enabled initially 2014-03-31 13:13:42 +02:00
Marc Khouzam
ea81f8bf27 Bug 430304 - "Add C/C++ Watchpoints" no longer shows for variables and
expressions view 

Change-Id: I0ed59f1f2ce4a6c145b601b79bc9394071686f06
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23342
2014-03-13 13:22:38 -04:00
Teodor Madan
710efe52ec Bug 427898: Allow changing breakpoint type
Change-Id: Ia71395c15bb995edb25e7a910eb98b81a9a8c4f6
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/21809
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-02-24 07:26:49 -05:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Anton Leherbauer
579050d91b Fix NPE in CDebugUIUtils.getEditorFilePath() if file does not exist 2013-10-31 12:06:20 +01:00
Jesse Weinstein
c2d26cdad2 [bug 417138] Various extension point schema cleanups
Change-Id: I3e20bad5c150f8283c19b69e31407a66d203b3ab
Signed-off-by: Jesse Weinstein <Jesse.Weinstein@clinicomp.com>
Reviewed-on: https://git.eclipse.org/r/16401
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-12 22:56:47 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Sergey Prigogin
d543b29bc4 Avoid calling a deprecated method. 2013-08-14 09:19:36 -07:00
Sergey Prigogin
03669cfebe Cosmetics. 2013-08-14 09:15:40 -07:00
Greg Watson
2a61b0709c Bug 414343 Don't force UI elements to implement IAdaptable
Change-Id: I8e4a07c401aaf3cf59e0696f1c27945eb6dfc4c2
Signed-off-by: Greg Watson <g.watson@computer.org>
Reviewed-on: https://git.eclipse.org/r/15421
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-08-13 12:59:34 -04:00
Marc-Andre Laperle
bb3e0bf7e0 Bug 414687 - Adapt to generified API from platform Debug
Change-Id: I487a20f3456597f7eddf8a7ce2e1d73ca2dfc423
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15289
Reviewed-by: Michael Rennie <Michael_Rennie@ca.ibm.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-08-12 10:46:27 -04:00
Patrick Chuong
100760804a Bug 337851 - cosmetics 2013-07-29 16:48:22 -04:00
Patrick Chuong
3e84751400 Bug 337851 - [disassembly] Enable target request while it is running
Change-Id: I67683ee5c9c55ec609de7011140e67a22e6e87ea
Reviewed-on: https://git.eclipse.org/r/14669
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
IP-Clean: Patrick Chuong <pchuong@ti.com>
Tested-by: Patrick Chuong <pchuong@ti.com>
Reviewed-by: Patrick Chuong <pchuong@ti.com>
2013-07-25 12:12:50 -04:00
aleon
bb755a01be Bug 244865 – Support for Step Into Selection
First Implementation:
* Non-stop as well as All-stop debugging
* Function / Method name validation, arguments size validation
(no arguments signature yet)
* Ctrl-F5 as short key (consistent with JDT)
* Hyper link support with Ctrl-Shift click
* Junit Test (Services part)
Change-Id: I58903b4b6b7f9fd39a827f5297ad23ac3f96186d
Reviewed-on: https://git.eclipse.org/r/11305
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-04-30 14:26:00 -04:00
Marc Khouzam
17569f4581 Bug 403166 - [breakpoints] Breakpoint message is not updated when
changing line number

Change-Id: I3f28365acdc638e1c1007a0e916fec5edcf686f5
Reviewed-on: https://git.eclipse.org/r/11175
Reviewed-by: Pawel Piech <pawel.1.piech@gmail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-03-16 10:17:47 -04:00
Marc Khouzam
11171b06ad Bug 376116 - Use new "Add breakpoint..." with tracepoints
Change-Id: I35ccb2d089683ce760405358d45fff2477036659
Reviewed-on: https://git.eclipse.org/r/11033
Reviewed-by: Pawel Piech <pawel.1.piech@gmail.com>
Tested-by: Pawel Piech <pawel.1.piech@gmail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-03-14 06:49:01 -04:00
Pawel Piech
77db4a8dcd Bug 396230 - [breakpoints] In Breakpoint Properties dialog sort and group pages. 2013-02-08 13:32:00 -08:00
Marc Khouzam
35a1eb1832 Bug 399163 - [reverse] Make use of GDB's new =record-started/stopped MI
events

Change-Id: I168b4734a2971bd71ebd34532bb118aa72ccc70b
Reviewed-on: https://git.eclipse.org/r/9957
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-01-31 06:15:28 -05:00
Randy Rohrbach
1c88eba523 Bug 399119 - The CDT Model presentation does not support editor and color
customization for breakpoints.
2013-01-28 15:48:37 -05:00
Mikhail Khodjaiants
815d32990c Bug 344890 - [remote] Cannot start a new process on a remote target with
extended-remote

Change-Id: Iae6f29a8a549cc57577911bdc84cc95f6ba983df
Reviewed-on: https://git.eclipse.org/r/7438
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2013-01-23 13:13:05 -05:00
Mikhail Khodjaiants
629232eae1 Revert "Bug 344890 - [remote] Cannot start a new process on a remote target with extended-remote"
This reverts commit 6f37c7a914.
2013-01-21 14:33:27 -05:00