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

23006 commits

Author SHA1 Message Date
Marc Khouzam
3a98d32217 Bug 440587 - Extra output in gdb console when using '-interpreter-exec
console'

Change-Id: I52c15661fc481d8cde9e04707c3cd0b58dd4fd31
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30625
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-07-29 08:16:09 -04:00
Alexander Kurtakov
6534051b1b Don't use deprecated junit.framework.Assert.
The replacment is org.junit.Assert.

Change-Id: I44bd6da6e19f9d69f91eb1ad251bd6e259ff67a9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30629
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-29 08:15:40 -04:00
Alena Laskavaia
e26e8a60c0 LaunchBar - added test plugin and refactoring
Initial tests and refactoring to support tests


Change-Id: Ia14961b4a13ad7e8f2e1d75be264243f7432fe2d
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30462
2014-07-28 16:43:44 -04:00
Marc Khouzam
668242634a Create constant for number of concurrent commands sent to GDB
Change-Id: I8911ec6014d81a9516b39d3dc6c2b1a5f7b80bdd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-28 15:32:52 -04:00
Marc-Andre Laperle
c9785892f5 Make it easier to use different target platforms in build
-Dtarget-platform can be used to specify which target to use.
For example, the default is target-platform=cdt-e4.4 but
-Dtarget-platform==cdt-e4.3 can also be used. The cdt.e4.3 target
file has been updated. Except the launchbar plugin doesn't compile
against 4.3 for now.

Change-Id: I6ce634f5567620d4f27a58ba0d711a3b87e617d1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30539
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
2014-07-28 12:47:25 -04:00
Marc Khouzam
74b4766793 Bug 439926 - Race condition between's test 2 second timeout and launch's
2 second timeout.

Change-Id: I31632107b1bd667239ab6892268c02d30d0bafa7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-28 08:43:00 -04:00
Jeff Johnston
c94b40cf94 Minor edits to Stand-alone debugger docs.
Change-Id: I8cda245f8bc34b21e3088de561442982b86f05ef
Reviewed-on: https://git.eclipse.org/r/30540
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-25 18:43:11 -04:00
Marc Khouzam
b880b30b23 Cosmetics
Change-Id: I8d87072a6dfaa4927b55ee751e12cf04b05a05ca
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-25 15:18:27 -04:00
Marc Khouzam
8ac1490c7c Pass optional arguments, in case base class ever needs them.
Change-Id: I7f928063b7a9e476ccb98612b3ff17be24126745
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-25 15:12:47 -04:00
Marc Khouzam
22b4459a37 Bug 440387 - Allow to easily extend ServicesLaunchSequence
Change-Id: Ife35c51415fc9a5a07a5327a2eed3e564b3429c8
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30459
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-07-25 13:07:30 -04:00
Marc Khouzam
2986eab315 Cleanup ServicesLaunchSequence
Change-Id: I100b8f355aa968a0c6a679a1a04d2f12d76c02e3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30449
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-07-25 08:48:41 -04:00
Thomas Corbat
0544d1d000 Bug 440231 - NullPointerException with Synthetic if-elseif-statement
Added null checks to the ASTWriter.doNodesHaveSameOffset and a test case
reproducing the problem.

Change-Id: I538806cf32683f5689dbf582b7a7dcb6615a899e
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30334
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-07-25 02:26:39 -04:00
Marc Khouzam
b740ab50f8 Cosmetics
Change-Id: Ia9e2ff002ac7d38e9057b2f9497f4370363e3b86
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 14:35:58 -04:00
Marc Khouzam
1a48e6064b Update pom.xml of features for which version was changed to 8.5
Change-Id: I6c4e258ac7d86a3df7a064614fa80430219d5561
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 13:35:24 -04:00
Marc Khouzam
4a3ec6cd65 Update remaining feature versions to 8.5
Change-Id: I2f81d61650070353ec86159cfa215d58a0dd2c40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 10:50:09 -04:00
Alena Laskavaia
dcf1440fe4 LaunchBar - new extension for simple providers
* If provider only wants to associate lc type with target the
only thing is needed is to specy this lc type somewhere and framework
should take care of the rest

Change-Id: I3f60c7a0a5b1334f989e972fe8f773c6e2d7f71a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30381
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:30:58 -04:00
Alena Laskavaia
cd81c09a4f LaunchBar - use unique descriptor id, not the name
Change-Id: I90674ab2e8d72a351be2f717c839e9305bdf2cbe
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30366
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:28:37 -04:00
Jonathan Williams
30b00414b0 Bug 440272 - Autoselect Another Target If Active Target Is Removed
Set another target to the active target if there is one available. Set
activeTarget to null if the list is empty.

Also fixed an NPE if setActiveLaunchTarget() was called with null.

Change-Id: I79d0a9c8a6b6e93b403dfbdf0d8bf0c8ea441297
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30386
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:23:48 -04:00
Jonathan Williams
bd792bc393 Bug 440133 - Fix extension point parsing for launchBarUIContributions
Change-Id: Ife27f47f483c9f80e5b9da94a180affee2baff61
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30265
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-23 14:46:01 -04:00
Alexander Kurtakov
0bf6cec447 Put LLVM preference page in CPluginPreferencePage category.
Prevents LLVM page being top level and makes LLVM threated more like
XLC.

Change-Id: I189f9fb00f256c9721d95b7a163284db4e31d370
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30296
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:53:58 -04:00
Alexander Kurtakov
a03c0e1ef2 Reduce unused parameter to warning.
This allows compiling in the IDE and not fail because of exception not
used in catch block.

Change-Id: I162645b25162d80b4447d87edabc4d436d6d9d2f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30295
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:53:07 -04:00
Alexander Kurtakov
f64c610d02 Set the min Maven version to 3.0.5.
It's enforced by cbi jarsigner plugin 1.0.5.

Change-Id: Ia7460f95532e28364dc42f386e90d278b9e1be9d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30300
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:51:18 -04:00
Marc Khouzam
8219fbd21c Bug 440153 - Optionally provide an existing CDT repository when doing a maven build
Change-Id: Idc3d48bea5625ec84df43ffe50c6940fb4281831
Reviewed-on: https://git.eclipse.org/r/30285
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-22 16:34:35 -04:00
Marc Khouzam
f94e6d3aad Increment parent pom version
Change-Id: Icd9b413ce754a83f43ee56976bc52ee3edb9b3f5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-22 16:05:46 -04:00
Doug Schaefer
bdc8c18df1 Bug 440112 Fix priority order for launchConfigProviders.
Also provides the default launch descriptor as API to allow other
descriptor types to reuse it.

Change-Id: Ifd9f5d9a22d5752e8c139ec4cc37ac181b245ec9
Reviewed-on: https://git.eclipse.org/r/30254
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-22 12:28:14 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Sergey Prigogin
e792b93495 Inremented feature version to 8.5 2014-07-21 17:13:08 -07:00
Sergey Prigogin
a2fbb5c879 Inremented feature version to 8.5. 2014-07-21 17:07:12 -07:00
Marc Khouzam
90718216f1 Bug 439926 - CommandTimeout tests can fail on fast machines
Change-Id: I7bd4862cb8b3900a2fc41ad7476b2dff6f541009
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30144
2014-07-21 16:26:52 -04:00
Jonathan Williams
947b25009a Bug 440015 - Fix NPE On Launch Configuration Edit
Prompt user with error dialog when they attempt to edit a launch
configuration with no active target selected.

Change-Id: I3b0a649312259beba73437223e5b96e99396d31e
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30184
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-21 15:04:00 -04:00
Marc Khouzam
0cdedcb9e9 Bug 438934 - Make GDBConsoleBreakpointsTest provide more information
upon failure.

Change-Id: Ia3cfe4fb455f4ca5048e629c623bba6331264b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30096
Tested-by: Hudson CI
2014-07-19 11:29:10 -04:00
Marc Khouzam
935e88036d Bug 438934 - Failure in MIMemoryTest.asynchronousReadWrite because of a
concurency issue where the AsyncCompletionWaitor was being accessed by
more than one thread but was not properly synchronized.

Change-Id: I5c6f063ca519787a0cc45281c0632fcf07b763d5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30089
Tested-by: Hudson CI
2014-07-18 03:46:30 -04:00
Jonathan Williams
b9764a20a4 Bug 439833 - Allow Launch Configuration Deletion from Launch Bar
Also a slight refactoring of ILaunchConfigurationProvider for to enable
this.

Change-Id: I3e51e2277ee1a2b8875790d02ab6e5350595c946
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30078
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Hudson CI
2014-07-17 15:44:54 -04:00
Andrew Ferrazzutti
cc2fe9086b Update Autotools SWTBot tests.
Change-Id: I830ca99f83548a5fc0e6fcfdeb26d00cd68e3060
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/29608
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-17 14:08:03 -04:00
Thomas Corbat
0f355b1929 Fixed tautologic comparison in ASTFileLocation.equals()
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-17 12:55:12 +02:00
Thomas Corbat
f68e29865e Bug 408545 - Increased version of o.e.c.mangedbuilder.gnu.ui from 8.2.1
to 8.3.0.

Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-16 09:44:23 +02:00
Thomas Corbat
7fa06c6dc5 Added Anders Dahlberg to the copyright header of AST2CSpecTest. 2014-07-16 08:42:01 +02:00
qdagans
91ee2851a4 Bug 84144 - [Parser2] GCC: labels as values
Cleanup test cases in AST2CSpecTest

Signed-off-by: qdagans <anders.xb.dahlberg@ericsson.com>
Change-Id: I4d546019a2ec61418d33d7b0cb1e888e609b4006
Reviewed-on: https://git.eclipse.org/r/29830
Tested-by: Hudson CI
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-16 02:37:53 -04:00
Marc-Andre Laperle
b280f247ae Bug 438476 - Fix autotools MinGW and Cygwin build
Change-Id: I10bfb868718bf564dc74d53be6ff7453f1349dc5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29435
Tested-by: Hudson CI
2014-07-15 21:06:31 -04:00
Leo Ufimtsev
29b783155f Bug 408545 - Added single checkbox to enable gcov. (edit commit msg)
I added a checkbox to enable gCov via a single checkbox to 
        enable gcov in the compiler. It then uses the 
	applicability calculator to automatically enable the linker if
	the compiler option is set.

Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Change-Id: I561d7263d578a7807e890fce5518e6fc2ebb2bb2
Reviewed-on: https://git.eclipse.org/r/29403
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-15 16:48:21 -04:00
Alvaro Sanchez-Leon
4ec3cdbbe7 Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
Change-Id: I7dbdfe98795242a3c96a3ed87532a993dd7db685
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28602
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Hudson CI
2014-07-14 12:34:41 -04:00
Doug Schaefer
3936530e86 Show the proper ILaunchGroup in the LaunchBar Mode Selector. 2014-07-14 12:27:24 -04:00
Doug Schaefer
d9013538b8 Fix loading of the active descriptor in the launchbar. 2014-07-13 20:38:58 -04:00
Doug Schaefer
283a3f1bd7 Fix up the label providers for the launchbar. 2014-07-13 18:27:19 -04:00
Doug Schaefer
b318ffaedb Bug 437392 - Add support for multiple target types per launch thing.
Introduces a whole lot new concepts that will be documented in the
wiki.

Change-Id: Idd05d5232b88be7ac1d400e5b9618cf08716abf4
Reviewed-on: https://git.eclipse.org/r/29849
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-13 15:24:40 -04:00
Alena Laskavaia
8f40037326 LaunchBar - show actually modes
fixed drop down selector to show actual mode names and icons instead of
only debug and run

Change-Id: Idd80cf8a14b382b76d5bd16ed6a52b98790fe865
Reviewed-on: https://git.eclipse.org/r/29833
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-11 19:42:16 -04:00
elaskavaia
d25c5fa5b9 LaunchBar - make stop button work
Change-Id: I0940b9593c41bc1530b0ca28410d06431f66b0f5
Reviewed-on: https://git.eclipse.org/r/29832
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-11 16:46:15 -04: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
Thomas Corbat
f81b783269 Bug 84144 - Occurrence marking for label references. 2014-07-10 13:20:38 +02:00
Thomas Corbat
6dff32c96a Bug 84144 - ASTWriter extension for IGNUASTGotoStatements and label
reference operator. Including tests.

Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-10 10:26:51 +02:00