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

24399 commits

Author SHA1 Message Date
Marc Khouzam
bf52a46a9d Revert "Bug 478740: Improve overriding of GDBProcesses service"
This reverts commit 2cd56f2ca9
Review number: 67852.

It was committed by mistake.

Change-Id: Ic6f567b0230e159eafeb2da3cab4255f7372104b
2016-03-05 06:03:43 -05:00
Marc Khouzam
d47fc9be4e Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-03-05 06:01:33 -05:00
Marc Khouzam
2cd56f2ca9 Bug 478740: Improve overriding of GDBProcesses service
This also propagates the fix to Bug 487144 to GDB 7.10, which we had
missed.
 
Change-Id: Ic70cc9b5cc304288f81a7e10be4aed7138096e94
2016-03-05 05:38:00 -05:00
Marc Khouzam
4175b5a1a4 Bug 478740: Simplify user-facing terminology
I got some user feedback about some terminology they didn't quite
understand and this patch tries to address the issues by:
- Simplifying the name of the reverse debugging options.
- Simplifying the preference page.

The patch aslo removes un-used strings in plugin.properties.

Change-Id: I1e4487eeda23f81d391ef11ddbe7dd6feba401ec
2016-03-04 09:54:30 -05:00
raddepal
4a54e2269f Bug 488660 - Refresh reverse toggle on console changes with GDB 7.10
The patch implements the event handler which
queries the trace method and triggers the necessary
update in the command handler.

Change-Id: I9c1827deb56dce099b7f455e942d1b6735a80643
Signed-off-by: raddepal <ravitheja.addepally@intel.com>
Signed-off-by: ravitheja.addepally <ravitheja.addepally@intel.com>
2016-03-04 07:26:20 -05:00
Marc Dumais
76dee8f4d1 Bug 487128 - Attaching to process errors not propagated to user
Change-Id: Idfa8808e2d50384d491ac9dbc6492570182880f2
2016-03-03 10:56:47 -05:00
Marc Dumais
a21b4f2331 Bug 488874 - attach dialog sometimes does not appear, because no active
shell is found

Change-Id: I039c90677152efe1611049d11cd9b6102c99f86b
2016-03-03 10:54:36 -05:00
Marc Khouzam
038783cf5f Bug 487121 - Remove "connect" button from the Debug View toolbar
Change-Id: I99e096e759eaf7d56b4d64a75bbed6d1833b714d
2016-03-03 10:02:12 -05:00
Teodor Madan
f29de7cedd Bug 487682 - refuse process selection for already connected process
- Extend query for already connected process to all sessions for local
session types

Change-Id: I36591ff96d28977b4670700a2a2eb92c34945c7a
Signed-off-by: Teodor Madan <teodor.madan@nxp.com>
2016-03-03 09:51:24 -05:00
Sergey Prigogin
70fe6cbbde Bug 488904 - Added a preference for enabling/disabling argument guessing
Change-Id: Id39454da16638d5f11c95e419c2385dc16cdb53a
2016-03-02 20:39:12 -08:00
Sergey Prigogin
86dabd3d00 Cosmetics. 2016-03-02 19:54:02 -08:00
Sergey Prigogin
70fe8493fc Cosmetics. 2016-03-02 19:29:36 -08:00
Sergey Prigogin
c218db1abe Removed deprecated IASTBuiltinSymbolProvider interface.
Change-Id: I3beb8348e1f598d8a869b61dc64f2d649f721875
2016-03-02 18:48:52 -08:00
Sergey Prigogin
7f6a6ae5ca Removed use of a deprecated method.
Change-Id: I00934f05c35e5ccba097c05904f8b68d897a71de
2016-03-02 18:41:40 -08:00
Sergey Prigogin
2c9820b2b0 Increased max size of index database cache to 256MB. 2016-03-02 17:56:09 -08:00
Sergey Prigogin
028f8545ca Cosmetics. 2016-03-02 17:46:00 -08:00
Sergey Prigogin
bc14c5b1cc Bug 488904 - Performance regression of code completion due to parameter
guessing

Change-Id: I5a6b693b898d40853da5c2d112c62c93eaf60064
2016-03-02 17:21:51 -08:00
Sergey Prigogin
3e27134c47 Cosmetics.
Change-Id: I379de81844c6beed828ec2d27cef110a10987d17
2016-03-02 14:34:20 -08:00
Sergey Prigogin
62dc7c36ea Performance optimization.
Change-Id: I44a518a9eeb1c31cb1c065f89cae774b125c4f94
2016-03-01 14:26:31 -08:00
Sergey Prigogin
f1341a25cb Cosmetics. 2016-03-01 13:52:13 -08:00
Nathan Ridge
1171bc168c Bug 488456 - Handle unknown class instance that resolves to alias
template specialization

Change-Id: I8e57ebffb8d93b22948a6822b566988d5b2f91ad
2016-02-29 19:47:33 -08:00
Sergey Prigogin
3a923c84ec Made InstantiationContext a final class. 2016-02-29 18:58:38 -08:00
Sergey Prigogin
6a8c77b33f Bug 488732 - NPE in CPPTemplates.resolveUnknownMember
Change-Id: I46ff488ced5aa8e2dda1c39709aa381f8bc4e59a
2016-02-29 18:46:40 -08:00
Marc Khouzam
2befa91f27 Bug 478740: Cleanup reverse toggle image handling
Change-Id: I5b7eae467179b4cd34d9633bc217a48cf729fd87
2016-02-28 23:13:55 -05:00
Marc Khouzam
4f5cccde8a Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-28 21:25:07 -05:00
Marc Khouzam
21e303d976 Bug 487128: Errors when starting a new process is not propagated to user
This is a follow-up to the work done to show errors when attaching to
processes.  We were also not showing errors when trying to start a new
process using the "Debug new executable..." context menu option of the
debug view.

Change-Id: I9f68410b6d41a28df6f76f63b091a049a38b14e9
2016-02-27 21:16:22 -05:00
Doug Schaefer
3ec5060d54 Qt - remove hardcoding of app name in build config.
Change-Id: Ifccecc9a6b8d0ed8e1bf36e2002a126df29376c3
2016-02-27 21:06:15 -05:00
Marc Khouzam
c1c656bda8 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-27 10:43:34 -05:00
Marc Khouzam
e6e50c16fb Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-27 07:46:50 -05:00
Sergey Prigogin
69562ae63e Bug 488605 - Organize Includes adds an include for a header included by
the partner header

Change-Id: I16ca2afc2ecbe1b47c9a71be5e0c170c9ac0d08d
2016-02-26 23:43:01 -05:00
Sergey Prigogin
5b9dedd74f Normalized preferences. 2016-02-26 19:57:34 -08:00
Sergey Prigogin
3b27932b60 Normalized preferences. 2016-02-26 19:46:39 -08:00
Sergey Prigogin
6fb068d42e Bug 488604 - Organize Includes adds include for type hidden behind a
macro

Change-Id: Ibfe1499580b3b34ff9c3cff0fbbd8b3b3b9506fa
2016-02-26 16:32:56 -08:00
Marc Dumais
da8e356c89 Bug 488115 - [memory] Add "go to address" action to the Traditional
Rendering

Change-Id: If6d3c37742530648f1019ee8933fcaaf246a505c
2016-02-26 10:54:19 -05:00
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