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

24365 commits

Author SHA1 Message Date
Marc Khouzam
4c731e0fa7 Bug 478740: Attempt to make reverse icons more informative
Change-Id: Ic855694867be3f66eeb627695ec45ba7a333e8f8
2016-02-26 08:27:51 -05:00
Sergey Prigogin
7c321bae13 Bug 488506 - Organize Includes adds include for function hidden behind a
macro

Change-Id: Ic737e34f71953f1e53a2c1cf2a21e340b7593c33
2016-02-25 19:54:01 -08:00
Sergey Prigogin
34eac4ab17 Adjusted a message. 2016-02-25 16:54:03 -08:00
Marc Khouzam
231dae5323 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-25 16:27:16 -05:00
Marc Khouzam
39f31d42a3 Remove unnecessary setting of GDB version for non-stop tests.
Non-stop tests inherit from their all-stop counterpart which already
sets the GDB version.

Change-Id: I7444372971a9a74536745279fddac32842c46c03
2016-02-25 11:18:23 -05:00
raddepal
3be258d79b Bug 478740: Add Switch off tracing option
This patch adds the "Switch Off Tracing" option to 
the select reverse debugging method pull down menu.

Change-Id: Ib184c1f4c1d1db781bea4468bc8c939bd27db27d
Signed-off-by: raddepal <ravitheja.addepally@intel.com>
2016-02-25 09:21:01 -05:00
Marc Khouzam
79e0972413 Add Inferior exit code test
Simple test to verify that the exit code of a process is properly set
for the console to read.

Change-Id: Ib7dca7a86732ad119dd57bb2681120d4a6222e5c
2016-02-25 09:09:25 -05:00
Marc Khouzam
c28c12b353 Create DSF-GDB tests for GDB 7.11
Change-Id: Ib46fc78a9f9167c21898b925b7fe9f614adea289
2016-02-25 09:06:43 -05:00
Sergey Prigogin
01b0b877e1 Bug 488349 - Organize Includes removes an include necessary for a method
call

Change-Id: I309046e32ea2be5f0b6ecc00643d03c131bfafb6
2016-02-24 20:49:27 -08:00
Sergey Prigogin
5d40605a40 Removed 3 deprecated methods.
Change-Id: I75ea53a574817c0c91161a38d4209c428a55521b
2016-02-24 20:04:15 -08:00
Sergey Prigogin
a913d61e4f Cosmetics. 2016-02-24 17:57:35 -08:00
Marc Khouzam
8c0ea6af0b Update script for GDB 7.11
Change-Id: Ia127aadc5fdf0989b7ac4f213c3596da141a2e79
2016-02-24 16:14:51 -05:00
Jonah Graham
84d92dce1f Bug 472765: Fix occasional exception during test
There was a race condition between commandTimedOutDuringSession
finishing and the next test starting that checked for unterminated
launches (in BaseTestCase removeTeminatedLaunchesBeforeTest).

While commandTimedOutDuringSession did wait for the shutdown to be
received (ICommandControlShutdownDMEvent), that can happen a few ms
before the launch is fully terminated (fLaunch.isTerminated() == true)

Change-Id: Ib4e6655938f6b0e3ab3ce89fd06528f1b72ee04d
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-02-24 13:19:42 -05:00
Alvaro Sanchez-Leon
fd386abe7c Bug 284459 - Traditional Memory does not show Memory Change color after the memory changes
When using DSF-GDB, the handleSuspend event is received only when a
breakpoint is hit (i.e. not when it's actually suspended),

However memory changed events are received when applicable during
stepping, however the base code does not call the "archiveDeltas()" for
this event.

This change adds a call to archiveDeltas if the update mode is set to
UPDATE_ALWAYS upon reception of memory change events.


TO REPRODUCE this problem:
The issue is that only one snap shot of history is applied with the first
address / expression search, and this is used for all other comparissions,

So you can search for a variable with bigger address value as a first 
memory search, and then step the code and see that variables close by 
with smaller address values will be updated but not colored.

e.g.  
&Test -> address 0x110
&X -> address 0x100

if &Test is used as the first memory search, and then the code changes 
value of &X while stepping the code, the cell holding &X will not be 
colored as expected.


Change-Id: Ibdc1fae6ed73ec2819fe9539d56f9ea9b6302535
2016-02-23 18:26:26 -05:00
Alisson Linhares de Carvalho
9ba50a9462 Bug 486610 - Fixed a highlight problem in reportProblem method
Every time we report a problem in a declaration/expression that occupies more
than one line, the codan marks the entire line as a problem - including
everything before the node. This patch solves this inconvenient behavior.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=486610 for a complete
explanation.

Change-Id: I742cbaac8a1392676695d574355597b0cfc87385
Signed-off-by: Alisson Linhares de Carvalho <arescarv@gmail.com>
2016-02-23 16:59:59 -05:00
Marc Khouzam
99465c1604 Bug 456116 - Can only use final fields in Launch Delegates
Change-Id: I695a4ef55ce451ed781e101334e07416b0bc48ed
2016-02-23 13:15:32 -05:00
Marc Khouzam
9e5888fb37 Bug 478740: Remove Reverse Debug dialog preference
Change-Id: I2a7f668ebc50bac6047395e0ca0e4eb7668cc863
2016-02-23 10:01:04 -05:00
Marc Khouzam
aff7275044 Bug 478740: Missing externalized strings
Change-Id: Ia343d2c055e167fe093586aca32a209b4a8a1c11
2016-02-23 09:52:37 -05:00
Sergey Prigogin
d6611cfcfa Bug 488265 - Syntax error lambda with capture in initializer list
Change-Id: I5505a47d33317287b0463e06eaf84ec0067b9e46
2016-02-23 01:10:06 -05:00
Doug Schaefer
2b53f9eae3 Update the sequence number on cdt.target. 2016-02-22 23:11:19 -05:00
Doug Schaefer
d1dda291d9 New Qt templates using new templates framework. Arduino fixes.
Change-Id: Ib50fb439ba248965286242e476728bb9f36ac18b
2016-02-22 22:55:06 -05:00
Marc Khouzam
e3f7a7dd7f Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-22 20:43:55 -05:00
Marc Khouzam
3d65c3474a Missing @since tags
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-22 20:39:59 -05:00
Sergey Prigogin
55f20a56e2 Fixed a typo. 2016-02-22 15:42:33 -08:00
Sergey Prigogin
e6d0eea1b9 Bug 488264 - NPE in TextEditUtil.flatten
Change-Id: Ie838cc4f7f6f752673eb3254fbf7ade5c907018d
2016-02-22 15:41:27 -08:00
Sergey Prigogin
940975d7d7 Code cleanup in Codan tests.
Change-Id: Ib6fbc348ef175441029a17dd2129d95aaee3305f
2016-02-22 12:47:59 -08:00
Marc Khouzam
ffffd11890 Bug 456116 - Cannot use class fields in GdbLaunchDelegate
The protected method GdbLaunchDelegate.cleanupLaunch() has been removed.
It has been replaced with GdbLaunchDelegate.cleanupLaunch(ILaunch).

The complexity about not using a class field in GdbLaunchDelegate is that
throughout the process of launching a session, we must be ready to cleanup
the GdbLaunch object.  The problem is that the platform does not provide
that launch object in the methods preLaunchCheck() and finalLaunchCheck(),
so we needed to store the launch object in a field.

This patch delays the call to GdbLaunch.initialize() so that we don't need
to cleanup the launch object if preLaunchCheck() and finalLaunchCheck()
abort the launch.  One hurdle was that we still needed to create the DsfSession
when constructing GdbLaunch, so still needed to clean it up.  This patch adds
a check in GdbLaunch itself, when the launch is removed, to cleanup any
lingering DsfSession automatically.

I've tested every path that aborts the launch in GdbLaunchDelegate and
confirmed that things are properly disposed of in every case.

Change-Id: Ie2981a843917b464f1785a477871073227e027c3
2016-02-22 13:16:07 -05:00
Marc Khouzam
8f8f6748fe Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-22 10:46:43 -05:00
Marc Khouzam
c170288dc4 Bug 478740: Cleanup debugger tab
This patch cleans up the debugger tab and puts the new ReverseMode
dropdown box on the same line as the reverse checkbox.

The patch also decouples the gdb and gdbinit boxes (which require three
columns) from the other options (which require one or two columns).  This
will make modifying options simpler and more versatile.

Change-Id: I11909ed72237128f354dbf05ab3ba1de062aad2f
2016-02-22 09:48:11 -05:00
Nathan Ridge
4dfd64edff Bug 371839 - Highlighting of overloaded operator in macro expansion
Change-Id: Ifbf437b12f8f946c90b55bb4a0f99ce7cde9b261
2016-02-22 01:10:26 -05:00
Nathan Ridge
bd887e6800 Bug 487703 - Expansion of template template parameter pack
Change-Id: I9000357454c05f755e8cb6894216a19d4ced2116
2016-02-22 01:08:48 -05:00
Nathan Ridge
8a39882870 Bug 487703 - Pack expansion in base specifier
This adds support for the more general case, where the expansion pattern
is not just a template parameter pack itself.

Change-Id: Ia6e4626d184d17fee57f1986cf92056ab38b8f17
2016-02-22 01:08:25 -05:00
Nathan Ridge
d5e518217a Bug 487698 - Use fully simplified type during deduction (while still preserving typedefs in the result)
Change-Id: Ic2b7fbe62317660af218a722d2a113f5ab0d9b4b
2016-02-22 01:06:17 -05:00
Sergey Prigogin
98bbc1597e Adjusted header substitution map.
Change-Id: I3ab5e2aaaa1ece8e22059a4228ebff9754894f91
2016-02-19 20:13:46 -08:00
Marc Khouzam
fa5bc53607 Bug 478740: Re-order constants
Change-Id: I49a584f3f58794718a9eb97c6f8a98fc0b3ca35d
2016-02-19 14:22:51 -05:00
raddepal
5aa4380050 Bug 478740: Changes for supporting Hardware Reverse Debugging
The original toggle button for reverse debugging
has been modified to a pulldown menu for selecting
between hardware and software methods along with all necessary support. 

Change-Id: I2e4d97c46950253986d427cb87cda66b820744c9
Signed-off-by: raddepal <ravitheja.addepally@intel.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-19 10:17:35 -05:00
Alena Laskavaia
e7d064e89c qt core: prevent exceptions when deleting closed project
Change-Id: Ia2facb7682e83dc4d5023713f0d040b696f4ba6b
2016-02-18 12:15:52 -05:00
Sergey Prigogin
f4cb39bc3b Bug 487972 - Unnecessary inclusion of <cstdbool>
Change-Id: I3f8b9cd157107f81a46e26c0966ce551772fb5ec
2016-02-17 18:48:20 -08:00
Sergey Prigogin
1a4e98b866 Bug 487971 - Organize Includes removes a necessary include
Change-Id: I74abb929cabcb78733215da552e3ada227aa26e8
2016-02-17 17:34:53 -08:00
Sergey Prigogin
e984df3ba0 Removed INodeFactory.newTranslationUnit() method.
Change-Id: Iaff5e56a18f1a1c53dfc1c31d7bdc6bbfc6c0ae3
2016-02-17 16:44:35 -08:00
Sergey Prigogin
4559a2308a Removed ICPPTemplateScope.getTemplateDefinition() method.
Change-Id: Ida39f2b01287a550e1c5abc6465f9154f5de45ec
2016-02-17 11:36:39 -08:00
Sergey Prigogin
f7e42fe057 Fixed few more @since tags. 2016-02-17 11:22:03 -08:00
Sergey Prigogin
fe9c09835d Corrected few @since tags. 2016-02-17 11:18:14 -08:00
Sergey Prigogin
728fd554e4 Incremented version of org.eclipse.cdt.core to 6.0.
Change-Id: I059e7eba9eff7f24c84e08a1cbf658381aaaf19d
2016-02-17 10:28:26 -08:00
Martin Schreiber
c6bc452a1b Bug 487920 Check if widget is disposed before enable it
Before calling setEnabled on the ToolItem check if it is disposed. If
thats the case, do nothing, else enable the ToolItem. 

Bug: 487920
Change-Id: I1f7b9e0da7f07b2b49e3176e162b9ffb7968439b
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2016-02-17 10:27:12 -05:00
Marc Khouzam
a3eb9edc59 Remove deprecated medthods.
GDBBackend.getGDBCommandLine() and GDBBackend.launchGDBProcess(String)
have been removed.

GDBBackend.getGDBCommandLineArray() and
GDBBackend.launchGDBProcess(String[]) should be used instead.

Change-Id: I50b118a0dfeef5c427c61ba5a9b38662cbe9748f
2016-02-17 06:19:00 -05:00
Sergey Prigogin
2260e3f7ab Removed deprecated methods from ICPPTemplateInstance and
ICPPSpecialization.

Change-Id: I763acb95cc9dbdcd1341951544629cf912f137ba
2016-02-16 19:34:03 -08:00
Marc Dumais
39f168158f Bug 354754 - [Memory Browser]Changing the memory space doesn't update
the view

Change-Id: I6a68433d8c7fc53da939f9c852136ab812ea42e3
2016-02-16 06:42:36 -05:00
Marc Dumais
8ab12fa4e2 Bug 487762 - [tests] MIRegistersTests # frameSpecificValues() - fix
platform-dependent failure

Change-Id: I7bfe1b952ac97615f93ee63770f33b66a5cb9d3e
2016-02-15 10:01:41 -05:00
Sergey Prigogin
9c97d4ae66 Bug 486971 - Name resolution problem with alias template and parameter
pack

This change solves the example in the bug but I'm not sure if it works
properly in other similar cases.

Change-Id: I6fb6b0c2501ef1fcd25bb31fae019ec5ec0379f9
2016-02-12 13:11:39 -05:00