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

3578 commits

Author SHA1 Message Date
Jeff Johnston
45a165b37d Bug 436892 - Standalone Debugger should not delete launch while it is still running
- distinguish between specifying an executable on command line or from the
  New Executable Dialog
- remove all launch configurations for the Executables project before
  deleting the project
- tell the configurer to not save and restore
- perform super.postWindowClose() after we have saved workspace

Change-Id: I1f02f3e033e5abf6c3c90a096312de2f134f7d8c
Reviewed-on: https://git.eclipse.org/r/28175
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit 0e6641c128)
Reviewed-on: https://git.eclipse.org/r/28206
2014-06-13 16:39:55 -04:00
Jeff Johnston
19e643f373 Bug 437302 - -e requires full path
- Add support to replace paths with absolute canonical paths before
  creating links within project or creating debug launch configs

Change-Id: I253978a973a4e583bc5e63b751e5184e7b085db1
Reviewed-on: https://git.eclipse.org/r/28448
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-13 15:49:57 -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
Jeff Johnston
333128a63a Bug 436893 - workspace should be renamed for Standalone Debugger
- workspace is now workspace-cdtdebug

Change-Id: I04e9285a385308c5b3911c64bb175b07f8ed407d
Reviewed-on: https://git.eclipse.org/r/28207
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-09 15:30:52 -04:00
Jeff Johnston
a02bedd48e Bug 436554 - standalone debugger cannot find pushd/popd on Ubuntu
- Fix cdtdebug.sh to not use pushd/popd
- Fix install.sh script to do proper sed now that pushd is not used

Change-Id: I466af0b0b6e09a53eb11505ce480138b5b538378
Reviewed-on: https://git.eclipse.org/r/28070
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-07 15:04:42 -04:00
Jeff Johnston
dd77e62e1a Bug 436260 - Standalone Debugger not starting
- Fix config.ini to contain missing bundles such as
  org.eclipse.cdt.native and org.eclipse.core.net
- Remove missing compat bundle

Change-Id: I440be50144e5e081f295f8535e616b4fc0f94692
Reviewed-on: https://git.eclipse.org/r/27613
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit 473fe58a28)
Reviewed-on: https://git.eclipse.org/r/27992
2014-06-04 16:52:15 -04:00
Marc Khouzam
2c22479c9e Bug 435309 - Use the shared license file scheme for CDT
This means that:
- feature.xml files now make a reference to the shared license plugin
      using version 0.0.0
- feature.properties files no longer have the text for the license
- license.html and epl-v10.html files are removed as they are part
      of the shared license plugin
- build.properties files no longer reference removed files
- the main pom.xml file references the license repository

Change-Id: Ibd880480de3a07597084d44cce7b822903509079
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27250
2014-05-26 10:03:45 -04:00
Marc Khouzam
5c919ac834 about.html does not get included due to missing backslash
Change-Id: I27bb60faf0b50733c3fc0cc830a081dcb10816e7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27116
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-22 11:57:01 -04:00
Marc Khouzam
5806deb5b8 Update to new license text
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-20 11:36:39 -04:00
Jeff Johnston
6acb6dbc70 Add CDT Standalone Debugger
- add org.eclipse.cdt.debug.application plugin which supports running
  CDT debugger as Eclipse application
- add org.eclipse.cdt.debug.application.docs plugin which is the
modified
  CDT docs
- add org.eclipse.cdt.debug.standalone-feature which bundles the
  two aforementioned plugins
- add org.eclipse.cdt.debug.standlone.source-feature

Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13
Reviewed-on: https://git.eclipse.org/r/25845
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-05 15:39: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
fa5de3be3b Update license.html files for 2014 version
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-02 11:17:44 -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
7593d5ee98 Update some pom.xml to match new plugin version
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-22 04:48:54 -04:00
Marc Khouzam
fe24fd0570 Enable API tooling for o.e.cdt.debug.ui.memory.traditional
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-21 16:33:47 -04:00
Marc Khouzam
27df2eddb2 Enable API Tooling for o.e.cdt.gdb and o.e.cdt.gdb.ui
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-21 16:17:53 -04:00
Marc Khouzam
6bf5a5e76b Missing exports for o.e.cdt.debug.mi.ui
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-21 16:02:50 -04:00
Marc Khouzam
75b87e0b91 Export missing packages for o.e.cdt.debug.core
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-21 15:59:57 -04: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
Sergey Prigogin
e333b0030e Fixed compiler warnings. 2014-04-11 16:15:08 -07:00
Mikhail Khodjaiants
33d6e7c0db Bug 335180 - Remote debugging and virtual folders =>
java.lang.NullPointerException
2014-04-10 16:17:48 -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
Marc Khouzam
c9c64b1cd2 Remove unused API filter.
Change-Id: I19d6ea47093ab4e3dfeae09b6f94d9fa03142691
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-03 14:34:27 -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
Uwe Stieber
e72c037dbd Bug 419391 - Contribute Windows PTY support
Signed-off-by: Uwe Stieber <uwe.stieber@windriver.com>
2013-12-16 09:54:34 +01:00
Marc Khouzam
eb3b78ec86 Bug 418710 - Provide a way to disable "View memory" menu per expression
Add IViewInMemory interface to general CDT to make it available for CDI
also.
Use IViewInMemory in DSF, and override it for the GDB case.
No need to use IViewInMemory.viewInMemory() yet, but it is put in the
new interface to be future-proof.

Change-Id: Iba9abee6b9bb459b4ec3a4fd72378f77f417643a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18952
2013-12-02 15:41:50 -05:00
Marc Khouzam
2eb80a6d34 Updated version of o.e.cdt.debug.core
Change-Id: I4fb1a8de62336a31cd417b3fafe29b0144a6acb2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-11-26 14:46:59 -05:00
Anton Leherbauer
579050d91b Fix NPE in CDebugUIUtils.getEditorFilePath() if file does not exist 2013-10-31 12:06:20 +01:00
Andrew Gvozdev
09915f99bf bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
Jesse Weinstein
331ff203d6 Alphabetize the modes; to be in line with the restrictions added in bug 417138
Change-Id: I35d8943e04acd90f4fba474f79a863c5986e0e05
Signed-off-by: Jesse Weinstein <Jesse.Weinstein@clinicomp.com>
Reviewed-on: https://git.eclipse.org/r/16419
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
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-23 17:45:06 -04:00
Marc Khouzam
f22100e80b Bug 417199 - Fix project-less debug
Change-Id: Icf2c185dbc53eccd068e384431d16d82a38d789e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16414
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-13 14:03:22 -04:00
Sergey Prigogin
21a3e327a7 Revert "[bug 417138] Various schema cleanups in cdt.debug.*"
This reverts commit 9e3da43fe5.
2013-09-13 09:48:33 -07: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
Jesse Weinstein
9e3da43fe5 [bug 417138] Various schema cleanups in cdt.debug.*
Change-Id: I3ae634713f133502424a200538b03ba7263ac7d8
Signed-off-by: Jesse Weinstein <Jesse.Weinstein@clinicomp.com>
Reviewed-on: https://git.eclipse.org/r/16400
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:55:29 -04:00
Sergey Prigogin
8f5e2ed1be Bug 415304 - project_loc, project_name and project_path variables in
launch configurations are resolved unreliably.

This change fixes string substitution for the GDB command file
attribute. A similar approach can be applied to other launch
configuration attributes too. 

Change-Id: I4e6447ccd8c652ad555b754daf040aba1c44cf3a
Reviewed-on: https://git.eclipse.org/r/15574
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-05 20:24:53 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Sergey Prigogin
bf2790474e Bumped up feature version to 8.3. 2013-08-22 20:06:31 -07:00
Marc-Andre Laperle
b849c30a5d Bug 371650 - Debug As... prompts for irrelevant debug config for a basic
makefile projec

Change-Id: I5bcb971edf54b3f851cb9c76378dfde4c161bfe7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14543
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-08-14 15:00:04 -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
Mikhail Khodjaiants
767a83a455 Bug 415006 - Incorrect handling of empty string as program argument in
debug mode (CDI)
2013-08-13 16:16:58 -04:00