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

26153 commits

Author SHA1 Message Date
Marc Dumais
6d85d40cb8 Adding GDB 7.12.1 to the download-build-gdb.sh script
Change-Id: I52125b13ac3af41b8063fc8dff408d09bbb4c2a6
2017-01-23 10:58:37 -05:00
Alvaro Sanchez-Leon
84d765d241 Bug 509438 - [traditional] Show a Tooltip for all bytes in range of a
cross reference information

Change-Id: Id5821c0f4c68832f060e6b091ff611e35de6e15d
2017-01-23 11:34:40 -04:00
Alvaro Sanchez-Leon
377f0cc815 Bug 508446 - [memory] Preferences dialog empty tree on the left
This apply to the Floating Point and Traditional Renderings, 
When calling these preferences from the drop down inside the memory
view, the associated preferences dialog comes up with the left side
empty, this left side shall reflect the preference page three path.

The call to the preference dialog has been replaced to use
PreferenceUtil.createPreferenceDialogOn  which takes care of this.

Change-Id: I89d6b1289a7eac5ffcca54a1ca6d8b3c3ed831df
2017-01-23 10:03:59 -04:00
Marc Khouzam
0169f0a907 Missing rm.done()
Change-Id: I3a0044ea2631fece555d3196c0a91a37e5e455dc
2017-01-23 09:54:06 -04:00
Nathan Ridge
8956d2c7e6 Bug 72809 - Improve content assist inside inactive code
Change-Id: If24e354d00aaf886da1571fc525b556e08c94897
2017-01-22 21:21:39 -04:00
Nathan Ridge
d45ff124e3 Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
2017-01-21 16:15:52 -05:00
Sergey Prigogin
2726670258 Cosmetics
Change-Id: I52a10ff524628692e9fa94b6fb1cc6cf1708d7d1
2017-01-21 15:00:24 -04:00
Sergey Prigogin
94a97818bf Cosmetics
Change-Id: Ia9a8c9052f255bfbadf919b4aea029707d77b294
2017-01-20 15:49:17 -08:00
Doug Schaefer
26569fbf72 Fixes for Windows Serial Port.
Cleaned up some error messages. Especially when a system has no
serial ports. Also added a delay when ports are closed since some
serial port drivers (FDTI in particular) take a bit longer to
properly close. Especially important in pause situations where we
want to use the serial port for some other purpose right away.

Change-Id: Ifc9b7171682962e0aed8e9ed9ebf5472fc9e8206
(cherry picked from commit db3d5974e6)
2017-01-20 09:59:51 -05:00
Nathan Ridge
89d1521d24 Bug 510484 - Restore the recursion protection set in CPPVariable.getInitialValue()
The set was moved to EvalUtil.getVariableValue() in bug 508254, but this
left some paths unprotected. This restores the set to
CPPVariable.getInitialValue() (while keeping the EvalUtil one too).

Change-Id: I4a579720f4bc23d41e50c484649a73c29698373d
2017-01-19 23:54:35 -05:00
Nathan Ridge
eb795e9518 Bug 483824 - Inline namespace reopened without inline keyword
Change-Id: Ia2e15b31356c2e2a2ab53ed6fd76138177ed40bb
2017-01-19 19:36:53 -05:00
Marc Khouzam
bfea9deb90 Bug 303808: Example of ConsolePageParticipant for Debugger Console
This commit also enables a richer set of enablement checks when
contributing ConsolePageParticipants to the Debugger Console view.

Change-Id: I34aa010fd9cfa91f24781e2bef5ba41b9525eab0
2017-01-19 15:40:47 -05:00
Marc Khouzam
c8ce2587e8 Bug 303808: Update ConsolePageParticipant for GDB process
This patch officially limits the ConsolePageParticipant to handling
consoles from the platform's console view, and not any consoles from the
new Debugger Console view.  The code currently behaves like this, but
this patch cleans it up and no longer even checks for GDB consoles.

The ConsolePageParticipant used to provide two things for the GDB
console, when it was part of the platform's Console view:
1- it would select the GDB console when the GDB process was selected
2- it would provide a 'save' button for the GDB console

For #1, when the GDB process is selected in the debug view, this patch
selects the same inferior console as when the launch is selected which
is the last inferior console. As for the synchronization of the Debugger
Console views, it is already handled by each console itself.

For #2 the save button must be handled differently based on the
different type of debugger console (basic vs full).  This should be done
in another commit.  Besides, the code, before this patch, was not adding
the save button to the debugger consoles since those consoles are not an
instanceof org.eclipse.debug.ui.console.IConsole as first checked in
ConsolePagePartipant#isConsoleGdbCli()

Change-Id: I0813ad2261633ce8630ab5842f06a047868856e8
2017-01-19 15:27:33 -05:00
Sergey Prigogin
37db6b290c Bug 510662 - NPE in BuiltinOperators.<init>
Change-Id: I1ed5c8d0e820a89fb52c4ae51bc2f2ab79ce37b3
2017-01-19 10:39:05 -05:00
Marc Khouzam
d780df14c2 Bug 303808: Make it easier to extend Debugger Console pages
To perform actions on the GdbFullCliConsole, it is important to provide
access to the terminal widget.  This patch adds the new method
GdbFullCliConsolePage#getTerminalViewControl() to give access to the
ITerminalViewControl.

Also, to be consistent with the platform's ConsoleView, this patch also
adds the same groups in the toolbar.  Namely
IConsoleConstants.LAUNCH_GROUP and IConsoleConstants.OUTPUT_GROUP.
Extenders can use these groups to add their buttons to the Debugger
Console view.

Change-Id: I217ce54ada63796de776c6b4cb6b925c3feb7eea
2017-01-19 11:02:17 -04:00
Stephen Flynn
576d41fe69 Bug 303808 Allow page participants for GdbFullCliConsole.
This commit borrows code from ConsoleView and ConsoleManager to allow
adding page participants to GdbFullCliConsole.

Change-Id: I4b99600bc4fba3bfecb9a4822f94e2be7d3aa601
Signed-off-by: Stephen Flynn <stephen.flynn@dell.com>
2017-01-19 10:01:09 -05:00
Sergey Prigogin
2c8c7a9bca Cosmetics.
Change-Id: I157beb9b3ce003003173c95cd261826ac65dbeb7
2017-01-19 02:14:26 -04:00
Sergey Prigogin
1af8428deb Bug 509898 - CPPSemantics.isReachableFromAst is slow and is causing UI
freezes

Optimized IndexFileSet.containsDeclaration method for performance and to
reduce its memory footprint.

Change-Id: I0e867b96c6d6ab102561bc999127980d1be26a7b
2017-01-18 19:59:12 -08:00
Nathan Ridge
24f099f882 Bug 509186 - Require an exact match for help proposals when providing context information
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-18 13:12:06 -04:00
Nathan Ridge
785b17a064 Bug 72391 - When completing a function, do not insert parentheses if they are already present
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-18 13:03:12 -04:00
Nathan Ridge
73d5df1550 Bug 391439 - Do not do replacement for help proposal with context information style
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-18 13:01:00 -04:00
Nathan Ridge
b434f0d78d Bug 509833 - Follow-up to fix propagation of the point of instantiation in ClassTypeHelper.findOverriders()
Change-Id: Ia59c361e075874dec5551803d985ed20329245da
2017-01-17 19:46:44 -05:00
Nathan Ridge
ccb64b8b63 Bug 510010 - Uniform initialization in template argument
Change-Id: I55853735e44fdf6240bebb53f2e7ab1a6885b273
2017-01-17 20:42:53 -04:00
Nathan Ridge
68e19daf1e Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-17 20:38:26 -04:00
Nathan Ridge
9e60a646fd Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-17 20:36:39 -04:00
Nathan Ridge
b1d6194e14 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-17 19:34:26 -05:00
Alvaro Sanchez-Leon
1afc08fea8 Bug 507336 - Dynamic Printf parameters format may not be clear
The Properties dialog displayed for a Dynamic printf breakpoint
display a "printf ("  field, however the end parenthesis is not added
and not expected as part of the parameter list as the ending parenthesis
is added internally.

If the user adds it to complete the opening parenthesis the printf does
not work.

This update adds a validation to this field so if the user adds a final
parenthesis, the dialog will display an error message and the OK button
will be disabled.

Change-Id: Ib25c5a11176c6f92c7367246483be0f703e145bd
2017-01-17 13:43:16 -04:00
Alvaro Sanchez-Leon
2e780a54f1 Bug 509812 - Unable to interrupt arm remote target, Neon and GDB 7.12
Adding a GDBJtagDSFFinalLaunchSequence_7_12 class to be used when
interfacing with GDB 7.12 or higher.
A new step is added to the sequence in order to enable async mode,
which will allow us to use the new GDBFullCLIConsole

Change-Id: I08c382550c6dd8a8567a66169495a9e490c35397
2017-01-17 13:37:49 -04:00
Alvaro Sanchez-Leon
028eb67a17 Bug 509895 - GdbBasicCliConsole left running after platform shutdown
when launch fails

Change-Id: I5879f5ed770e63c11077e091f18c5766b243bd88
2017-01-17 12:49:15 -04:00
Marc-Andre Laperle
6cad124cf0 cmake: Fix missing NLS messages
For example, opening the CMake property page, there was a missing
message for the cmake-ui button.

Change-Id: I126fe1cb6e290edc289a2dade44500dd35ed1207
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-16 13:36:44 -04:00
Nathan Ridge
2fe3f7ec9f Bug 509734 - Cross-project references to template instances
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-15 14:08:32 -04:00
Nathan Ridge
2e642428a4 Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-15 13:06:55 -05:00
Joseph Henry
df6ebf09e9 Bug 495423 - Indexer produces a erroneous "Symbol could not be found"
Added catch all condition to ConditionalExpression type evaluation where
both positive and negative types are the same.

Change-Id: I990b502dfce8ef71c753ac188e072de312b7ea9f
Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2017-01-14 21:43:45 -05:00
Nathan Ridge
eb21d06ecc Bug 497500 - Display per-file indexing time for diagnostic purposes
Controlled by the org.eclipse.cdt.core/debug/indexer/activity debug option.

Change-Id: I9eceb9e72697230b51221db7b0680494fefad154
2017-01-14 21:41:17 -05:00
Marc Khouzam
bed0869293 Typo in error message
Change-Id: Icb470bfadd25ae37fcfacece90ec49b4423f88f0
2017-01-14 08:17:49 -05:00
Marc Khouzam
be7ee1e018 Must use DSF Executor to fetch service.
Change-Id: I3750fe262a3c507d26fb761fa6adad0b715313c3
2017-01-14 08:15:47 -05:00
Thomas Corbat
2ee0a093d0 Bug 506972 - Contextual conversion to bool for &&, || and !
Suggestion for implementation of contextual conversion of explicit
conversion operator.
+ Test

Change-Id: I69537f86a9b09120e31115fbe94391a90196952a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 04:52:23 -05:00
Thomas Corbat
eaa1442345 Bug 510151 Braced default initialization by implicit default constructor
Change-Id: Id9f7dba42d45d1e2d9bd557802eb7669946d242f
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 05:50:42 -04:00
Jonah Graham
11de6abfaf Bug 510394: set environment when doing project-less run
Change-Id: I7b82f99f88b9e4c5d2367dfdf98cb3952e6a89eb
2017-01-12 19:51:40 +00:00
Sergey Prigogin
b96dace616 Cosmetics
Change-Id: I778d142e115b0a70a832138a9170bee5541fce4f
2017-01-11 10:52:16 -08:00
Sergey Prigogin
88ee3029fc Bug 510226 - ClassCastException in PDOMCPPUnknownMemberClass.getOwner
Change-Id: Ib85621abe85f8ef29b0cd231f390f6c5447f6434
2017-01-10 19:38:17 -08:00
Nathan Ridge
031938d831 Bug 509871 - ClassCastException in EvalConstructor.computeForFunctionCall()
Change-Id: If4b7dac7a6665619f80a57ebfe83ce8749b7dd9c
2017-01-10 21:52:11 -04:00
Sergey Prigogin
df4a39d0a2 Cosmetics
Change-Id: I51c0b2d876c48c30564177fc2c1323bc7eee1409
2017-01-10 14:14:56 -05:00
Nathan Ridge
aa0d656ab7 Bug 509833 - Fix unsafe method call in ClassTypeHelper.findOverriders()
Change-Id: I3368d7dd22ce8e207f6363509b6830099a8f0236
2017-01-10 04:12:18 -04:00
Nathan Ridge
6132605f03 Bug 509733 - Follow-up to exclude image locations of kind MACRO_DEFINITION
As per bug 344656 comment 5.

Change-Id: Ic28a4c9641533b6ee24d5a67cb8e104889ac4055
2017-01-10 00:52:11 -05:00
Nathan Ridge
8c74efdff4 Bug 402498 - Apply declaredBefore() filtering to index bindings
Change-Id: Ic0abe31c67c88fa6f17eed3a231ec9231cd93cb0
2017-01-09 03:55:43 -04:00
Nathan Ridge
c3504af925 Bug 509733 - Open Declaration with source and target inside a macro invocation
Change-Id: I1f31a94caa0b48ba07380f28dc11ba74629b202e
2017-01-09 01:24:24 -04:00
Sergey Prigogin
a33ebe1eed Cosmetics
Change-Id: Ie2fd6d347a38f33e12223cc756816f19b3787160
2017-01-07 17:01:00 -04:00
Sergey Prigogin
a8872762d0 Bug 509255 - Unresolved symbol due to invalid selection of template
specialization

Change-Id: I130219f4ec7c3339b449d5c1af8a35150362613b
2017-01-07 15:59:51 -05:00
Nathan Ridge
f247b3141c Bug 509798 - Use CElementHyperlinkDetector for assembly editors
Change-Id: Ie9bf16f00f8ae8c3f5cd1a51c441392fed4fc491
2017-01-06 21:03:49 -04:00