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

24518 commits

Author SHA1 Message Date
Jonah Graham
93155eceba Bug 472765: User documentation for Path Mapping
Change-Id: Ida009cc85c0b35845bd2c6db19a7e23a0a37f700
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-13 10:41:46 -05:00
Jonah Graham
6f249f12c1 Bug 472765: Restore test comments post refactoring
During the testsuite refactoring that significantly improved the DSF
suite (Commit 528de33113) some info
was lost from the code. This resurrects those comments.

Change-Id: I0a11dee2dcabb0800306880fc7c6217374bc337a
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-13 11:41:28 -04:00
Jonah Graham
64da973dcf Bug 472765: Delete dead classes
MappingSourceContainerBrowser has long since replaced
with NewMappingSourceContainerBrowser.

PathMappingDialog has long since replaced
with MappingSourceContainerDialog.

Change-Id: I67bd6640d5e75608c9b3d616285914987ff38f98
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-13 16:07:31 +01:00
Marc-Andre Laperle
7afdc50165 Fix Stand-alone debugger SWTBot test
A bug was fixed in SWTBot and it doesn't throw
IndexOutOfBoundsException anymore. A test was relying on that.

Change-Id: I807aaa773b8544172cf33cbf1a04583fe171bd51
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-12 13:51:21 -04:00
Jonah Graham
4d53a33882 Bug 472765 and Bug 386675: Deprecate/comment on problem with createPath 2016-04-12 15:23:18 +01:00
Alvaro Sanchez-Leon
5d6bef7eb5 Bug 489505 - Add hovering support to the traditional memory render
Change-Id: I06d7264835a8199398aad1a0215d775caa29e079
2016-04-11 14:29:23 -05:00
Marc-Andre Laperle
70fe82a151 Fix SWTBot dependency on org.eclipse.core.runtime.compatibility
Old SWTBot from Eclipse Mars had a dependency on
o.e.c.runtime.compatibility but this was removed in Eclipse 4.6 M3.
It suddently stopped working now because the Eclipse 4.6 milestones
composite repository doesn't contain the old milestones anymore.

Change-Id: I43608f0142e26d4bee175f0bc3cf921b00ffbb96
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-11 14:33:50 -04:00
Sergey Prigogin
aad801dad0 Code cleanup.
Change-Id: Id6ea0aa5450d623b0be1bb3acde8d0a0c4628d6d
2016-04-11 10:37:11 -07:00
Sergey Prigogin
e7d8109e95 Fixed deprecation warnings. 2016-04-08 11:57:01 -07:00
Sergey Prigogin
9804e683e6 Cosmetics.
Change-Id: I9cd2b475d2992086f4cf722c31c69d322377c484
2016-04-08 11:55:58 -07:00
Stefan Sprenger
dfe76debe3 Update DSF Intro Docs to current master
Updates:
- references from CVS to git
- Old version of SDK to more recent version
- many typos

Change-Id: Ibea3ec63ddf0ddf6a17ed976885ef0cf593ea3d8
Signed-off-by: Stefan Sprenger <stefan@sprenger.software>
2016-04-08 09:34:41 -04:00
Jonah Graham
a925a51cf4 Bug 472765: Better wording on label
Change-Id: Idd391767ac152410f9b01fbe47febcbeae3f2d00
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-08 14:08:43 +01:00
Alvaro Sanchez-Leon
2655b4a0f3 Bug 489501 - [memory] Add API to resolve the default memory space id
When using memory spaces, a backend may sometimes qualify an address
to specify the memory space to which the address belongs.  However, to
minimize impacts, the memory space qualifier may not always be present.
In such cases, the address is implied to belong to the "default" memory
space.

DSF-GDB currently has no means to know what is the "default" memory
space to apply in such cases.

This change introduces a new API to request the default memory space
from the memory service.

Change-Id: Icea87543b8529756aee92c6d2af95fb936f5fb9c
2016-04-07 15:48:16 -04:00
Marc Khouzam
f9d3a184aa Replace hard-coded versions with constants
Change-Id: I8653157bd1d351eb07f58b4b404edfdaaa0e756e
2016-04-07 15:44:44 -04:00
Marc Khouzam
ddf2dea0aa Provide Supported and Unsupported lists of GDB versions
Allow to easily run only Supported or Unsupported tests

Only run Supported versions in test suites

Change-Id: I0d628c8aea28dad77df7943b8b1ee18df5bb6bcf
2016-04-07 15:40:26 -04:00
Jonathan Williams
e44726097c Bug 486307 - Throw exception when serial connection fails.
Build windows using mingw cross on Ubuntu. Clean up Makefiles
and remove unused Windows code.

Change-Id: Ic2d36ddbef7e4eecfcee12a496b923326c8a51c6
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
2016-04-06 11:25:10 -04:00
Mat Booth
a896eee7e9 Bug 490995 - [tests] autotools.tests and debug.app.tests bundles have missing resources
Change-Id: Icc5d446c00c1d52178440362c49d4cf7325825c2
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2016-04-05 07:46:04 -05:00
Marc-Andre Laperle
75c2dcebf9 Stand-alone debugger for Mac OS X
This commits adds support for the stand-alone debugger on Mac OS X
for both the RCP (product) and the script. The script had to be
modified slightly because of the different installation layout on Mac
and also the use of non-standard arguments to the 'find' command.

Change-Id: I24e4fec98803689dbaadb1dcfa651e431d4188a7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-02 22:59:15 -04:00
Marc-Andre Laperle
f4a98d1894 Add missing launchbar.core depedency to stand-alone debugger script
The depedency was added to the product before but not to the script.
This means the stand-alone debugger worked in the form of the
product but not the script bundled as part of other Eclipse products.

Change-Id: I3e9da14a7522524a6bec73d3d9e9d22263f17093
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-02 22:59:15 -04:00
Marc Khouzam
95351a4842 Make remote launch tab definition readable
Change-Id: I098091ea75d3839754c6a354a732a408b8258138
2016-04-02 15:55:31 -04:00
Marc Khouzam
519e1c91ab Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-03-31 18:45:30 -04:00
Marc Dumais
4ab317096d Cosmetics
Change the output chunk size from 4 to 1 addressable unit, for the plain
text memory exporter.

Change-Id: Iaccebdf87e0d297754bc2dd12fc11f207476871a
2016-03-31 13:33:49 -04:00
Marc Dumais
750f009c20 Bug 490685 - add missing @since tag in MemorySpacePreferencesHelper
Change-Id: Ib59fa1fbcc15d86ceed978656095a015dd099b08
2016-03-30 10:08:29 -04:00
Marc Dumais
b28d8e45d1 bug 488469 - [traditional memory rendering] add preference for coloring
background independently for different memory spaces

Change-Id: If61d909ef66b9c11aebe0863b787af465121dd59
2016-03-30 09:00:00 -05:00
Marc Dumais
91f9730d27 Bug 489579 - [memory] PlainTextExporter doesn't work as expected, when
addressable size > 1

Change-Id: I97bc6aecbc9db0c40831b8180295df72ed283410
2016-03-30 09:58:49 -04:00
Marc Dumais
90a56a1e7d Bug 489278 - [disassembly] hover does not work for registers
Change-Id: Idc547e93d1e1f4a4085ce0f1e846964780065043
2016-03-30 09:41:49 -04:00
Nathan Ridge
cb76eaa873 Bug 489876 - Virt-specifier following trailing-return-type
Change-Id: I1c86634cbb69c0e4b2243dc858abe4c048335378
2016-03-30 00:25:03 -05:00
Nathan Ridge
1723662de3 Bug 489477 - Compare AST types to PDOM types correctly during final overrider analysis
Change-Id: Ie34dad36cfb9f459b997a859c2c193745131f5c8
2016-03-30 00:23:33 -05:00
Nathan Ridge
f136f05560 Bug 488612 - Fix a NPE in DoxygenSingleAutoEditStrategy
Change-Id: I79f91dfc97da1cf4429fdedf4bee457b8e7cb1b7
2016-03-30 01:22:05 -04:00
Nathan Ridge
e41a1c30eb Bug 488611 - Overloaded pointer-to-member operator
Change-Id: I16dfaa0d91fbc703e2cde014b62578c168e48716
2016-03-30 00:20:29 -05:00
Solganik Alexander
36be245004 Bug 435726 - Dont set SWT colors for foreground on active element.
When dark theme is in use outline and project explorer background
expected to be dark, regardless of globally (OS level) selected SWT
scheme. So for active elements foreground always return NULL which will
result in default colors to be displayed. For inactive element, continue
displaying them in grey, as grey is inactive color for both dark and
default theme.

Change-Id: I91b20b0327e0008a2aa01573981f217a609e3bbc
Signed-off-by: Solganik Alexander <solganik@gmail.com>
2016-03-30 01:16:05 -04:00
Jesper Eskilson
92cd626895 Code cleanup in DSF examples.
- Added @Override where necessary.
- Added src_ant to source directories in build.properties
- Fixed resource leaks
- Added type parameters where missing (e.g. Vector in PreProcessor.java)
- Removed unused imports

Change-Id: I28c7e295891833f9b561975da0adc92d55f2e048
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2016-03-29 16:18:03 -04:00
Marc Khouzam
a08b9582d3 Add javadoc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-03-29 10:34:50 -04:00
Marc Khouzam
6d5e31038c Bug 488661: Simplification of reverse debugging code
Most changes are cosmetics (name of local variables, javadoc, etc).
The note-worthy ones are:

1- Change terminology in IChangeReverseMethodHandler to be a little clearer.
This causes changes in multiple files, but it was all automated.

2- Remove ReverseDebugMethod.INVALID which was used as an error code
and not a ReverseDebugMethod value.

3- In GdbReverseToggleCommand, provide a different error message
if there is a failure to set ProcessTrace vs BranchTrace and tell user what to do.

4- Reworked GdbReverseToggleCommand#getReverseDebugMethod in attempt
to make the code easier to understand.  No actual change in functionality.

Change-Id: Ibdc14faff1220e6a20319644b49e641c2101e762
2016-03-29 08:59:41 -05:00
Sergey Prigogin
64e7137959 Report long wait for exclusive index access to the user.
Change-Id: I27b69a7be19060ec2874aff92d86420c32ee595f
2016-03-28 20:37:25 -07:00
Sergey Prigogin
9622166291 Use prime numbers for hash table sizes to reduce collisions.
Change-Id: I4233e4a4ca729dd742825ee23b9c254fa836bc41
2016-03-28 19:06:42 -07:00
Sergey Prigogin
eeaed8ee74 Minor optimization. 2016-03-28 13:52:44 -07:00
Sergey Prigogin
b1f7f7f7f1 Moved to JDK 1.8.
Change-Id: I630a0c442b1df2624148a9d62418b862c313897c
2016-03-28 16:50:01 -04:00
Sergey Prigogin
929d8dfb45 Consolidated similar tests.
Change-Id: If8161fdd23956f3cb61660f45d1b1407bb102835
2016-03-28 15:04:39 -05:00
Sergey Prigogin
16562814f7 Cosmetics. 2016-03-28 11:43:55 -07:00
Alvaro Sanchez-Leon
82b74d3cb6 Bug 489398 - Support memory spaces in IExpressionDMAdress
When an address is resolved from an expression, the resulting address
may carry a memory space provided by the backend to associate
this address to a particular memory space.

The current interface for the memory space service (e.g.
IMemorySpaces2) can be used to parse the memory space contained in the
expression.

This update adds:
1) A new API method to resolve the memory space of an
IExpressionDMAddress instance
2) The use of the memory space service to attempt to resolve the memory
space.

Note: if there is no memory space service, the memory space defaults to
an empty string, which does not affect the default behaviour i.e.
when memory spaces are not used.

Change-Id: Idfe5669b26f84ee4e3e78f96f229ced75e6ec5c3
2016-03-23 21:17:51 -04:00
raddepal
7a73b0035f Bug 488661 - Moving the last trace method to GdbReverseToggleCommand
This patch solves Bug 488661 by moving last trace method to
GdbReverseToggleCommand. Since it is instantiated on a per session
basis.


Change-Id: Idafa196c7af36373ca08d5fc7de63024fe824c2b
Signed-off-by: raddepal <ravitheja.addepally@intel.com>
2016-03-23 08:56:19 -05:00
Alvaro Sanchez-Leon
16b3fbcfd6 GDB Automatic remote launch, NP Exception check
Null pointer checks were missing in GdbLaunch e.g. to cover the case
when the instance is not fully initialized e.g. invalid gdbserver path.

Change-Id: Ie5b593417aa831cb5b35b19f31d2b0a03b1fdc86
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2016-03-22 15:23:17 -05:00
Marc Khouzam
8f25e4b5b2 Cleanup check for file presence.
Change-Id: I58faa14181598829d754c169460d3721671c42af
2016-03-22 16:16:48 -04:00
Marc Khouzam
9781f7bfa8 Don't require gdbserver to be present for local tests to pass
The TraceFileTest.java file has three tests which depend on each other.
Inter-dependency between tests is not good.  This commit removes it.

Change-Id: Id910a5cea741c85959679e4b0a6981f603f19d13
2016-03-22 16:16:11 -04:00
Doug Schaefer
096d2fa9f0 Make sure buttons on New Qt wizard are present.
Change-Id: I345adb10dd654ed2823aff3671b5774cf711797a
2016-03-22 13:06:05 -04:00
Doug Schaefer
c29243b187 Revert "Bug 489563 - API change for Language Settings Providers."
This reverts the changes we've made for language settings providers
so that I can start again with a cleaner approach.

Change-Id: Icddd5a465a8f217594af5b07011a56bf1dfdf014
2016-03-22 10:32:31 -04:00
Sergey Prigogin
52432d7370 Cosmetics.
Change-Id: I4022285d11267b77861cc8e4333adbea9c780ea7
2016-03-21 20:17:05 -07:00
Sergey Prigogin
de3b172c7d Bug 489563 - API change for Language Settings Providers.
Restored binary compatibility of LanguageSettingsSerializableProvider.

Change-Id: I02c9c7b0cc98a72ef47798a74f7a6ff99e85cf46
2016-03-21 19:15:23 -07:00
Sergey Prigogin
d07b74f31a Bug 489987 - Name resolution problem with static constexpr method
Change-Id: Ib1ec66f3c4d250112a606482a8c97a593fb0bfce
2016-03-21 16:58:45 -07:00