1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
Commit graph

34770 commits

Author SHA1 Message Date
Alena Laskavaia
d3718b536f Bug 458091 - Debug frames - cache part II
- added more comments and fixed copyright
- changed one the functions in cache class from private to public
- changed request for stack frames to request for stack depths in
getFrames fallback
- removed an extra private function which is not used anymore

Change-Id: I405e0ad61c6f9bf00bdccd041c0897f423f0b947
2015-02-04 14:24:07 -05:00
Michi
3cf9300566 Bug 459047 - [AccessContext] namingClass not found for nested class
specializations

if a binding is a member of a ClassInstance (owner) we should not try to
find a corresponding class template (target).

Change-Id: Ic865161f137ecb2a300afd03761cc26ee758b38b
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-04 11:55:03 -05:00
Nathan Ridge
9ca379e67f Bug 458679 - Ranking list-initialization sequences with user-defined
conversions

Change-Id: Ia976acf656f3431f96880b32fedc575a56c4e86b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-04 11:29:07 -05:00
Simon Marchi
3cf7241ccb debug tests: Remove fWait field from GDBProcessesTest
Re-using the waitor between tests possibly a dependency between tests
(e.g. on the order they are ran). It would be easy to forget to add an
fWait.waitReset() to a test and break another test.

It is safer to create a new one every time, while the performance hit is
negligible.

Change-Id: I404d240b29dddffb07899e7e529e7205282bd1d2
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-04 11:26:29 -05:00
Simon Marchi
a96fcd5a37 debug tests: MIMemoryTest: Use assertEquals instead of assertTrue when
possible

Change-Id: If9fc8f3f0f1f2070b7bc4ea6dc23778001dc0092
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-04 11:22:18 -05:00
Greg Watson
69042ba083 Bug 458686 - Add terminal connector for org.eclipse.remote
Change-Id: I054a3b9b2c39d2d20181745ccfa84f5900ca8221
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-04 10:11:35 -05:00
Greg Watson
07569e2556 Bug 458686 - Add terminal connector for org.eclipse.remote
Change-Id: I054a3b9b2c39d2d20181745ccfa84f5900ca8221
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-02-04 10:11:35 -05:00
Uwe Stieber
0826c02284 Releng: Uprev maven build files to version 4.0.0 2015-02-03 08:54:45 +01:00
Uwe Stieber
2a5590a03b Releng: Uprev maven build files to version 4.0.0 2015-02-03 08:48:54 +01:00
Uwe Stieber
97c6c5986a Releng: Uprev maven build files to version 4.0.0 2015-02-03 08:45:49 +01:00
Uwe Stieber
d1c5fba9ad Releng: Uprev maven build files to version 4.0.0 2015-02-03 08:45:49 +01:00
Uwe Stieber
55fb73d421 RSE: Update execution environment for o.e.rse.services.local as it does
use Java 5 API (java.util.concurrent)
2015-02-03 07:55:16 +01:00
Alena Laskavaia
d41b69136d Bug 458091 - Debug frames - cache
- Implemented cache for stack trace (replaces original stack depth
cache with a cache of frames and depth)
 - This is mostly done to mitigate bugs in gdb but it will also help
speed up the debugger since the mi cache doesn't cache commands with
different limits and does not know that if we requested frames already
we don't need to ask about stack depth anymore
 - In case of unrecoverable errors I will also return some constant
depth like 5, later the front end will ask to fill it up and in many
cases gdb will be happy to do that, even if it failed to report the
proper depth in the first place. We originally just returned 1 but it is
really not enough for most of the cases. This will result in potential
white gaps at the end of trace, but it is better then showing just the
first frame when we have errors

Change-Id: I24b42fd7ffea082e8064a9c5348fd95c5f7777be
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-02-02 10:22:56 -05:00
Simon Marchi
59854a48cd debug tests: Factor out duplicated code in MIMemoryTest.memoryCachedRead
Change-Id: I8ee7883e96e99d2daebe7a3748d4e5e6b3a165fe
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:47:19 -05:00
Simon Marchi
9ae9ed49f6 debug tests: Use SyncUtil's memory functions in MIMemoryTest
Change-Id: I47b9e4e65d418743da97bfddb78bfdce29f3c688
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:46:06 -05:00
Simon Marchi
e11bdc4502 debug tests: Use SyncUtil.readMemory in PostMortemCoreTest
Change-Id: I2572e7f9bef8512bd32df7c040f3f12506dc5453
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:44:45 -05:00
Simon Marchi
5500e418c9 debug tests: Use SyncUtil.readMemory in GDBConsoleSynchronizingTest
Change-Id: Ied75ccb790842a746f09e3d7b51bb9225891af96
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-02-01 20:41:45 -05:00
Uwe Stieber
d6443b88be Releng: Switch to more recent CBI jarsigner version 2015-01-31 16:51:43 +01:00
Uwe Stieber
9085089133 Releng: Rework maven build files to make them easier to read and to maintain 2015-01-31 16:30:07 +01:00
Uwe Stieber
26d34e47ff Releng: Rework maven build files to make them easier to read and to maintain 2015-01-31 16:30:07 +01:00
Marc Khouzam
624446b2c3 Bug 458499 - Unable to debug when GDB command contains additional
arguments

Change-Id: I0cfb07dd04d28062a653f76dbd23510d712e4c71
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-30 16:14:15 -05:00
Simon Marchi
b662f3b063 debug tests: Add memory access functions to SyncUtil
Unlike those in AsyncCompletionWaitor, these functions are based on
queries. The patch also changes occurences in MIMemoryTest where it
makes sense to use synchronous functions.

Change-Id: Id5e47b7634153d916bf896e47f6cc48f1a4727bd
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-01-30 15:17:55 -05:00
Marc-Andre Laperle
619216fca4 Add build flag (-DskipDoc) to be able to skip building documentation
Building documentation can take several minutes and is often not necessary.
I suggest that we leave it on by default so that people building locally
still get a full, consistent build of CDT but that it should be possible to
skip it on demand.

My build time went from 4:14s to 1:45s (without running tests).

Change-Id: Ic7c4535f3faf82080534d39ccbe6f452d8b52317
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 22:07:31 -05:00
Marc-Andre Laperle
c6156d2ee6 o.e.cdt.debug.application should export its packages
Change-Id: Ifeb5f78d776eca939187738180434000b0b2f8b2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 17:42:05 -05:00
Jeff Johnston
f433cb1e85 Bug 458066 - cannot specify pid to Standalone Debugger
- allow pid to be specified following -a option for Standalone debugger
- if pid is specified, use it to set the ATTR_ATTACH_PROCESS_ID
  setting for the launch configuration
- setting the pid will cause the process dialog not to appear and
  the debugger will attempt to debug the given process
- an invalid pid will result in in the dialog being opened
- the pid is not used with the -r option and is ignored
- updated the README file and docs

Change-Id: I5a1d39f97285ad41dcb986dfb4692f9d808bafeb
2015-01-29 17:24:25 -05:00
Alena Laskavaia
5df84dcfe0 MIStack correct code style
- removed trailing whitespace
- added/removed curly braces according to cdt style
- corrected indentation using tabs only policy

Change-Id: I605f68ed47753e0486aef42049f2e7392cadf9d0
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-29 14:43:39 -05:00
Teodor Madan
196d978624 Bug 458650 - NPE when creating a "C/C++ Remote Application" launch
config

Change-Id: I72f48aa4fa7b46e0d5ba5e5e8f6e4877269ea7f5
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-01-29 09:50:51 +02:00
Dave McKnight
f25615b5f1 -yet another push 2015-01-28 11:09:46 -05:00
Dave McKnight
365c541bf6 -push attempt 3 2015-01-28 11:06:33 -05:00
Dave McKnight
f2d8df4123 -another attempt at pushing this without rejection 2015-01-28 11:06:32 -05:00
Dave McKnight
abc7d8d75d [458647] RSE table views don't support quick search when SWT.VIRTUAL
used
2015-01-28 11:06:31 -05:00
Dave McKnight
70a3912f26 [458647] RSE table views don't support quick search when SWT.VIRTUAL
used
2015-01-28 11:06:31 -05:00
Dave McKnight
aa9cfa5fcf [434388] A file name filter for the first filter string affected all
other filter strings in an RSE filter
2015-01-28 11:06:30 -05:00
Dave McKnight
aee400a67f [434388] A file name filter for the first filter string affected all
other filter strings in an RSE filter
2015-01-28 11:06:29 -05:00
Dave McKnight
f943043495 [434388] A file name filter for the first filter string affected all
other filter strings in an RSE filter
2015-01-28 11:06:28 -05:00
Anton Leherbauer
f25972cbdb Bug 458402 - [terminal] Add support for scroll up/down and scroll region
Change-Id: If3c955663f664d34d01ada0763de2eec7b36b7d4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-01-28 09:50:25 +01:00
Anton Leherbauer
53c5808e00 Bug 458402 - [terminal] Add support for scroll up/down and scroll region
Change-Id: If3c955663f664d34d01ada0763de2eec7b36b7d4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-01-28 09:50:25 +01:00
Doug Schaefer
5f3b1af3f1 Remove the o.e.remote proposal. It's going live now at home.
Not sure why this stuff was on master anyway. It was supposed to be
on the oeremote branch. At any rate, I've started to contribute the
new API to o.e.remote properly so this is no longer needed.

Change-Id: I83409423ee5d5ad1295efadabb9d686b4d0fce4f
2015-01-27 20:27:19 -05:00
Alvaro Sanchez-Leon
d95f95521e Bug 458566 - [visualizer] NPE Closing the visualizer when the debug view is not present
Change-Id: I330a91f78504c4430dc39bd58dfb309a3ef6c18a
2015-01-27 13:17:36 -05:00
Sergey Prigogin
d0476b4ae0 Cosmetics. 2015-01-26 22:04:18 -08:00
Sergey Prigogin
021c9c38af Comment adjustment. 2015-01-26 21:55:38 -08:00
Sergey Prigogin
4738597265 Bug 436656 - [Organize includes] Add include for base class when code
using derived class
2015-01-26 21:43:06 -08:00
Sergey Prigogin
3d92885495 Cosmetics. 2015-01-26 21:43:04 -08:00
Marc-Andre Laperle
e3830010d7 Specify program and VM args for target in Oomph setup
Change-Id: Idb4e7c11aa44881309b71e40b5f158e2b33e8423
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-26 14:23:28 -05:00
Alena Laskavaia
5a7e047ab5 Bug 458091 - Debug frames are missing or not shown in some cases
- one case where debugger fails to return stack depth, but returns
correct stack frames
- second case where debugger fails to return stack frames when asked
without limit, but can return a specific frame

Both of these are workaround for GDB bugs where it fails to return data
consistently

Change-Id: I4fb0d4e850fbce6adc655849ec3f73c85adb1bdc
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-26 10:46:11 -05:00
Alena Laskavaia
b7829381f2 Fixed NPE when opening preference page for Working Sets
java.lang.NullPointerException
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:180)
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:1)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:352)
	at java.util.TimSort.sort(TimSort.java:216)
	at java.util.Arrays.sort(Arrays.java:1438)
	
	

Change-Id: Ibe91a679c876ed5f70f4f787188e13e52203466c
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-26 10:44:56 -05:00
Marc Dumais
674e89ad8f Bug 458076 - [visualizer] load of some cores missing when there are
multiple CPUs

Change-Id: Ice5e6d7447336ddaf678d37854783eff349e22bb
2015-01-26 08:17:25 -05:00
Anton Leherbauer
c934cb89c9 Bug 458398 - [terminal] Add support for application cursor keys mode
Change-Id: Iad40fb34aae2bda478eecde1a6f13a63bc20f88b
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-01-26 13:31:37 +01:00
Anton Leherbauer
7ff9715a55 Bug 458398 - [terminal] Add support for application cursor keys mode
Change-Id: Iad40fb34aae2bda478eecde1a6f13a63bc20f88b
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-01-26 13:31:37 +01:00
Anton Leherbauer
a1a63a3c31 Bug 458218 - [terminal] Add support for ANSI insert mode
Change-Id: Iee022b7326da07d3df2b04144416e324f7e73496
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-01-26 10:29:40 +01:00