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

23283 commits

Author SHA1 Message Date
Sergey Prigogin
9c35d9bc4a Bug 446225 - Captured variables not recognized as usages 2014-10-07 14:36:38 -07:00
Sergey Prigogin
32b06b4c26 Cosmetics. 2014-10-07 14:36:36 -07:00
Sergey Prigogin
9fc84c15c8 Removed an unused method. 2014-10-07 14:36:33 -07:00
Sergey Prigogin
d537ab066a Cosmetics. 2014-10-07 14:36:31 -07:00
Mat Booth
fca237edbc Use the org.hamcrest.core BSN to ensure the latest version from orbit
Change-Id: I1dd2d340f15bc2e0e02acf0b16c63447c05bcb73
Signed-off-by: Mat Booth <mat.booth@redhat.com>
Reviewed-on: https://git.eclipse.org/r/34493
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-07 16:52:32 -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
Marc Khouzam
f4155523a8 Revert "Bug 444208 - [remote] Specifing binary in launch config does not work if the name of binary is not same with the name of process"
This reverts commit 03aa13f48d.

Change-Id: Ia1168c831377ea358d05d3f11d887bef36504b0f
Reviewed-on: https://git.eclipse.org/r/34501
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-07 09:49:05 -04:00
Sergey Prigogin
27e94dcec3 Fixed a typo. 2014-10-06 16:21:21 -07:00
Sergey Prigogin
80ec72130b Bug 446094 - Name resolution problem involving __is_base_of 2014-10-06 16:13:35 -07:00
uozdemirgp2
03aa13f48d Bug 444208 - [remote] Specifing binary in launch config does not work if
the name of binary is not same with the name of process

Change-Id: Ib0c011e26eb2e348afb34a746017b096261e25b0
Signed-off-by: uozdemirgp2 <ugur.ozdemir@tubitak.gov.tr>
Reviewed-on: https://git.eclipse.org/r/33859
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-10-06 14:54:40 -04:00
Marc Khouzam
efd1635472 Typo
Change-Id: Ic27570d61d188aa6e42362addeabd742ac1a3515
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-06 09:07:20 -04:00
Marc Khouzam
e7cb240780 Cosmetics
Change-Id: I986bf6cc52c09563a1443dadfabdf50db8ca3b40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-06 09:06:26 -04:00
Sergey Prigogin
223df2e072 Bug 445911 - NPE in CPPTemplates.createParameterMap 2014-10-03 18:00:11 -07:00
Sergey Prigogin
ff5f407bff Bug 445670 - Name field has no focus when extracting local variables 2014-10-02 17:43:08 -07:00
Nathan Ridge
20f192470a Bug 439923 - Avoid infinite recursion while marshalling template
definition

Change-Id: Iefe78ea1dde72e745afa75b9da9d2f8ff89444ac
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/34019
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-02 17:32:09 -04:00
Andrew Gvozdev
044853140e bug 445718: CDT Wizard Page started crashing with NPE when custom wizard
is defined
2014-10-02 13:58:04 -04:00
Doug Schaefer
0a3f35c3ed Launch Bar - fix ordering problem initing launch config edit tabs. 2014-10-01 22:07:05 -04:00
Alena Laskavaia
909315e0c7 Bug 444781 - Fix error marker for invalid launch config name
fixed validation paths of the name/tabs markers

Change-Id: I0e6f1dbcde00ea00c351fdf377429026b8a83bd3
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33923
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
2014-10-01 15:08:28 -04:00
Iulia Vasii
6be52837ae Bug 445360 - Can't debug when GDB path contains spaces.
Separate gdb command from its arguments.
In java 7, Runtime.exec(String,...) methods were improved and
applications that are using these methods with commands that contain
spaces in the program name will fail. Is is encouraged to use
Runtime.exec(String[],...) instead to separate command from its
arguments. See documentation:
http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime

Change-Id: I03d44284c07be4eb26b393c35e620a79a803ab96
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34052
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-01 14:18:12 -04:00
Alvaro Sanchez-Leon
f9db4581fc Bug 445372 - [LaunchBar] Compile with Juno
Change-Id: Ieb915e56b7e1f2b06a84a1db1d6f476977add1b2
Reviewed-on: https://git.eclipse.org/r/34058
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-30 14:52:39 -04:00
Alvaro Sanchez-Leon
d852dccbdc Target definitions update, a new one for Juno
Change-Id: I4cd52277304a1d2a5a3d701eff404cadc23708cf
Reviewed-on: https://git.eclipse.org/r/34056
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-30 14:51:17 -04:00
Doug Schaefer
c84b8cc5d6 Launch Bar - New Target Wizard somewhat like the new resource wizards.
Has a page to select the target type. The INewWizard for the target
type is registered in the launchBarUIContributions extension point.
When selected and nextPage is hit, the wizard starts up.

Also some minor cleanup to the new config wizard.

Change-Id: Ic2bb5164d531a21b7a2a9dd7ecd109e18f2411cd
Reviewed-on: https://git.eclipse.org/r/34017
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-30 13:42:32 -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
Doug Schaefer
a104dc4f6d Launch Bar - fix up how the new config wizard runs.
Only change the type when we're flipping to the next page. Also fixes
the order of initialization of the tabs to eliminate the NPEs that
were happening.

Change-Id: I9bb0a5d3ff646e4ca340f9c461e3a3c88f89e557
Reviewed-on: https://git.eclipse.org/r/34010
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-28 11:13:32 -04:00
Doug Schaefer
c5ce43974e Make sure launch bar ui plugin properties gets into build.
Change-Id: I3e63c02b3c9f3da8b20ac4d71d0c1b6144b2f686
Reviewed-on: https://git.eclipse.org/r/33650
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-27 22:45:06 -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
db67b263b9 Bug 444636- Make CBreakpointGdbThreadsFilterExtension thread-safe
Change-Id: Ied036bba57e3f2c2eca00e791735212b3dc107e5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33727
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-25 14:31:57 -04:00
Marc Khouzam
0c0b6ef6ff Bug 444395 - Must synchronize creation of bp extension
It is possible that more than one thread try to fetch the extension of
the same breakpoint.  If that extension is not created yet, both threads
could end up creating two different ones by mistake.

We must synchronize the possible creation of the breakpoint extension to
avoid such a situation.

Change-Id: I51118bdfb9c4215fca14d7b5e18a5963e02cde34
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33620
Tested-by: Hudson CI
2014-09-25 14:28:17 -04:00
Marc Khouzam
a3ee0c86f9 Bug 443965 - Move update site from
build/org.eclipse.cdt.autotools-feature/p2.inf to
releng/org.eclipse.cdt-feature 

Change-Id: I2827c4d96ff7cd70f752d5619caa82e8450c3048
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33707
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-24 12:37:07 -04: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
Roberto Oliveira
dc52a0c446 Remove a NSL unused message ConvertTargetAction_No_Converter from org.eclipse.cdt.managedbuilder.internal.ui
Change-Id: Idb4590ecabfabf74076517b7c09cf2839481c405
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33622
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 10:21:27 -04:00
Marc Khouzam
8d56765e6b Bug 444395 - Breakpoints don't get set for second session.
Change-Id: Ifa857cc2e9de00bb2f2a86b9d5e73536294dd01d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33517
Reviewed-on: https://git.eclipse.org/r/33573
2014-09-22 10:11:35 -04:00
Teodor Madan
b92677b149 Bug 444207 - Activate multicore visualizer on non-linux hosts for remote
case

Change-Id: I62519aa7c631748bbec95af27cab3ef3e477c005
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/33438
2014-09-22 03:25:32 -04:00
Teodor Madan
660fa3fdfe Include expressionLanguage.exsd - fix occasional PDE errors
"referenced element 'enablement' is not defined"


  
Change-Id: I40a84a249e0e2488e4600a67a9eab935298048e4
Reviewed-on: https://git.eclipse.org/r/33499
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-09-22 02:26:34 -04:00
Doug Schaefer
f80eeeda61 LOLs, this is just a comment change. But I want the tests to run.
to test a previous commit I made directly accidentally.

Change-Id: Ia78de20a35e8288b58ba802c4215eb8abc2aff1f
Change-Id: I615c2673a0b2d091d71ffcf21a25fcc5b447e4f0
Reviewed-on: https://git.eclipse.org/r/33649
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-21 21:48:18 -04:00
Doug Schaefer
514a4ee209 Bug 437392 - first cut at handling descriptor takeovers.
If a launchObject changes such that a new higher priority descriptor
type wants to take it over, we need to let it. This is handles on
the launchObjectChanged call.

I also added a note to the Project object provider as projects change
a lot and we only care about a subset of those events. Not sure how
to formalize that, though. Need to dig deeper into the deltas and
see what we can ignore.

Change-Id: I964d8785a474c43c917bcd7d8a84abf2b7904aa4
2014-09-21 20:53:28 -04:00
Roberto Oliveira
fd8148a659 Autotools Sync - Fix an issue when trying to build Syncro Autotools project.
As the RemoteCommandLauncher#makeRemote already convert the local path to a remote path, dont need to convert it here,
	otherwise it will mess with the configure path.

Change-Id: Ibaaeb34dc80f1574f8b59db0ad0d68cf49af2551
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33574
Reviewed-by: Greg Watson <g.watson@computer.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-09-19 13:21:01 -04:00
Doug Schaefer
8015431bf1 Put the user invokable launch bar commands into a category. 2014-09-19 11:05:45 -04:00
Marc Khouzam
735bde8157 Bug 444196 - Add delay before deleting breakpoint
We are getting intermittend failures on the GDBConsoleBreakpointsTest
due to the fact that we create and then try to delete a breakpoint so
fast that the MIBreakpointsManager does not have enough time to update
its data structures.

This is something specific to automated tests, as a user won't be able
to delete a breakpoint so fast.

Change-Id: I4b220cc859b7ee45e1b8dbde0edbcaa38b9dfe34
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33432
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:09:23 -04:00
Marc Khouzam
cee8719e10 Bug 442394 - Sometimes breakpoints set and immediately deleted when
debugging with GDB

Change-Id: I4cdc2bfc50ce846fc3175e633b2d27510ba65e82
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33458
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:08:44 -04:00
Marc Khouzam
c5d3f2247d Bug 444317 - Move JUnit tests to use GDB 7.8
Change-Id: I129d6922fb93044cf12c912536b193140eae8f94
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33481
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:04:50 -04:00
Doug Schaefer
ddd0df6db8 Get LaunchBar builds off of the UI thread. 2014-09-18 11:55:27 -04:00
Wainer dos Santos Moschetta
ae1b12338a Bug 443343. Add support for pppc64le architecture
Created the org.eclipse.cdt.core.linux.ppc64le plug-in to bundle the
libpty.so and libspawner.so shared libraries for ppc64le (compiled
with gcc 4.9.1 and glibc 2.19)

Change-Id: I8d4d63961efaae68ac457462b069350e98e75246
Signed-off-by: Wainer S. Moschetta <wainersm@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/32874
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-17 08:56:54 -04:00
Marc-Andre Laperle
5dc320def5 Fix ptp p2 update site to fix build
Change-Id: I1f32178baa27c5ff1d77852834eae1539fef5506
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33475
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-09-17 02:51:37 -04:00
Marc-Andre Laperle
de517a2cd5 Bug 444196 - [tests] dsf-gdb tests fail the build when 'make' is not installed
This will make the build not fail but complete with errors.
Also, only build the test apps if we are going to run the tests.

Change-Id: I1a16eb812df45279d973ead37038683b5b0a5dff
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33406
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-16 15:42:57 -04:00
Marc Khouzam
4a93b2d6a4 Disable automated Debug JUnit tests for GDB < 7.2 to allow to work on
getting all others to pass.

These tests should eventually be gradually re-enabled.

Change-Id: Ifb5fdf155f6db36b0b8bc29032ac736691213972
2014-09-16 07:04:38 -04:00
Sergey Prigogin
2bc250198d Cosmetics. 2014-09-12 20:59:42 -07:00
Sergey Prigogin
bf5f005736 Cosmetics. 2014-09-12 20:23:31 -07:00
Alena Laskavaia
ac11501703 Bug 353352 - CFG doesn't handle range-based for loop
Change-Id: Ic4334ce82585d4dbfbbd008fd013b0ce97cca434
Reviewed-on: https://git.eclipse.org/r/33155
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-09-12 20:13:29 -04:00
Doug Schaefer
d5b3ed1ce7 Extend launch bar tests and fix up one of the Listener methods.
Change-Id: I920f7c08f30d51cff2a5188f81b85839e7d972e3
Reviewed-on: https://git.eclipse.org/r/33289
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-12 11:28:39 -04:00