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

1271 commits

Author SHA1 Message Date
Anton Leherbauer
9b8aa0e12c Bug 473352 - [dynamic printf] The default printf format string does not support 64bit addresses
Change-Id: I85a8281d409c3a6d164bdb3434b197ab57c656c9
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-07-28 09:15:56 +02:00
Marc Khouzam
bb50c58c02 Bug 473098 - Reflect tp action changes from while-stepping
The action changes were not immediately shown when changes were done
from the while-stepping action dialog

Change-Id: I36c4b366f0fd97d0a5c939b17eda5e6cd696d89d
2015-07-21 12:58:22 -04:00
Marc Khouzam
2b3d664972 Bug 473098 - Reflect tracepoint action changes
Tracepoint action changes were not immediately reflected in
the list of attached actions.

Change-Id: I6d0ad788d40c69febf2df5226252a7eeabde39b4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-20 16:00:42 -04:00
Marc Khouzam
93df44a4ca Disable remote detach test case for 7.5
With gdbserver 7.5, detaching from a process leaves gdbserver hanging
which prevents the next testcase from running.

We therefore disable the two detach testcases for version 7.5 only.
Note that we cannot simply @ignore the testcases since we want to run
them for the local case, even for version 7.5.

Change-Id: Id4b69420abd1218be5eaf2c54a9f44349283edc2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 15:53:44 -04:00
Marc Khouzam
5028a94396 Disable restart test in case of remote debugging
Change-Id: I08310791fe23c31219ea0e6ae26ea7f0a14eeff7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-17 08:16:17 -04:00
Marc Khouzam
75a3d71546 Create tests for GDB 7.10
Change-Id: I940f95a73278483d1b21dc8df9cdd41520522959
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-23 16:11:30 -04:00
Simon Marchi
e634076cdf Change way to skip building of gdb doc
Instead of modifying the source files of the documentation, it's cleaner
to replace the invocation to makeinfo to invoke "true". This will skip
building of all the docs.

Change-Id: I33a8ba7e1932433de48ab98d6cda3fda0bb09143
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 15:34:19 -04:00
Simon Marchi
13978c1567 [dsf-gdb] tests: Check if a line tag is defined more than once
As a safety net, fail if a line tag is defined more than once.

Also, allow calling resolveLineTagLocations more than once for a single
test.

Change-Id: I0832d3d28c4d688c38fd33dfc668b0ec6b8c4ffa
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 10:00:17 -04:00
Marc Khouzam
2b21405150 Bug 468192 - Prevent creating a duplicate bp when modifying properties
- Have CBreakpointPropertyPage check if any CBreakpoint already exists
at the specified location
- Have GDBDynamicPrintfPropertyPage check if any CBreakpoint already
exists at the specified location
- Have GDBTracepointPropertyPage check if any CBreakpoint already exists
at the specified location

Change-Id: I67096343a7173a98a144e3577a6b8a05377759e3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-12 16:08:26 -04:00
Jonah Graham
26bef5d321 Bug 317173 - cleanup warnings
- Add generics for ServiceRegistration and ServiceReference
  (added <?>), See Bug 322007 which added generics to OSGI
- Add generics for getAdapter, See Bug Bug 442021
- Fix calls to MessageFormat.format()
- Cross reference some unused/commented out code for dprintf with
  associated @SuppressWarnings("unused")

Change-Id: I4bacb3b37b69c97ab35615413f0f1f3e71aa2092
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-11 10:53:35 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Jonah Graham
8282a1767e Bug 469007: Reference MIExpressionsNonStopTest in test suites
Change-Id: If29de1ee2941a2bb3cb5c27dd9a61741b76165e6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-06-01 15:08:22 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Marc Khouzam
0ec42e99dd Bug 466492 - Remove console when removing exited processes
Change-Id: I029c89d81fc0f0e96dc8f3b160ea5286b0adb5ba
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-15 10:25:45 -04:00
Marc Khouzam
fe51f92804 Update GDB download script for version 7.9.1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-13 15:36:23 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Simon Marchi
cb16665cc7 Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.

By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.

Screenshot of before/after:
	http://i.imgur.com/Sx5ZPfO.png

It is still impossible to edit the value, but this would be addressed in
another patch.

Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-04 16:03:18 -04:00
Marc Khouzam
d533adec3c Bug 407340 - Keep showing in the Debug view a process that has exited
Change-Id: Ib4a1c80d99b1a311c781ea1f481943982cdf0cbd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 15:41:58 -04:00
Marc Khouzam
1ac11fc4bf Bug 463975 - Show exit code in console when doing a Run
Change-Id: I97fe993e33f1774133aa7cfd488e6e549dae2e0a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:27:01 -04:00
Simon Marchi
c4f5c35620 [dsf-gdb] debug tests: Remove useless try/catch
The try/catch doesn't add anything. If getStackTrace throws, the test
will fail and will show the useful stack trace.

Change-Id: Icf453ff2ca6c10a32f264fece0f0db9af8049612
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-01 10:10:58 -04:00
Marc Khouzam
2c70025486 Wrong error code used.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 11:41:06 -04:00
Marc Khouzam
bd66f35865 Bug 464636 - Modernize Run launch
Change-Id: I1c7a4cbbcd00f3967fe9cdbc1fc4b6e0b4d4d14f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:17:51 -04:00
Marc Khouzam
0c2af8d5ce Bug 464056 - Wrong exit code returned in some multi-process cases
Change-Id: I71c3aca8c8c98494408d2a7677d2837768592b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 15:51:26 -04:00
Marc Khouzam
7320ded57d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:49:48 -04:00
Marc Khouzam
230a67daa5 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:30:09 -04:00
Marc Khouzam
493e6b3fac Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:09:34 -04:00
Marc Khouzam
d92be4a40e Clarify where the extra tab comes from
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:06:14 -04:00
Marc Khouzam
52b36d6b0a Bug 464636 - Re-create dsf.gdb CMainTab for backwards compatibility
Change-Id: Ibf3f2ee8722ceeb5609389ce0f5a131841d3950b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:02:40 -04:00
Marc Khouzam
6b134ee043 Bug 464636 - Move CMainTab from o.e.cdt.dsf.gdb to
o.e.cdt.launch.CMainTab2

Change-Id: I5f0cf6d03858e78d95da5356dad36930ed4877b2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:00:36 -04:00
Marc Khouzam
7d3c3bcfe8 Bug 464636 - Example of adding a tab to the Run launch
Change-Id: I6d557ca787b3bf400e6bfbb3f9a6b219ecb003f9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 10:40:04 -04:00
Marc Khouzam
479cd95c3a Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-21 16:07:16 -04:00
Marc Khouzam
da1993169d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 10:37:35 -04:00
Marc Dumais
9cc312e1fe Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager

Change-Id: I77fc411e7484e41a9b66bf388a4120bc51a78549
2015-04-17 14:59:36 -04:00
Marc Khouzam
d071e969b7 Bug 462623: Split GdbAdapterFactory to allow overriding
Change-Id: Icb9b8d03c070afa8bdea5218d5d4a1aad5d86ebb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-17 11:24:08 -04:00
Marc Khouzam
3f8305fc0f Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 15:39:36 -04:00
Marc Khouzam
7c8b2459d5 Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:36:20 -04:00
Marc Khouzam
39fa80d9de Update to use generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:19:11 -04:00
Simon Marchi
84a53f8d80 [dsf-gdb] Remove usage of AsyncCompletionWaitor in MIMemoryTest.asynchronousReadWrite
Change-Id: I700736eea51f5aa5292143e11a259c958af2a68e
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-04-13 11:05:42 -04:00
Sergey Prigogin
20328a9961 Revert "Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager"

This reverts commit e329e6a518.

Change-Id: I8aef5384e73a62a3efc21ea046a71a1bf5f5e1d6
2015-04-12 15:43:20 -07:00
Marc Dumais
9ea9dd867c Bug 464184 - Update GDBHardwareAndOS service to take advantage of GDB
providing CPU/core info

Change-Id: I9d6ce989d9b71e7dd83f3d395da972d43486345c
2015-04-10 14:51:28 -04:00
Marc Khouzam
db8179004f Bug 463977 - Exit code not always displayed in console
Change-Id: I6342cd55530eeb1ea9faf52cd26884065f069ebd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-09 15:16:19 -04:00
Marc Dumais
e329e6a518 Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager

Change-Id: I64d44e112c3c9e2d24e7fcc62a3a6be7d865d6ac
2015-04-09 09:39:25 -04:00
Marc Khouzam
b31476c87b Address minor review comments from review 41198
Change-Id: I8d5ddd9426babd0577e1f8fb5e4fdb6b7b7dfbe3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-07 03:00:58 -04:00
Vladimir Prus
1502c78cd6 Expose raw varobj fields in MIVariableObject.
Presently, the field from MI are parsed in MIVar, then copied to
MIVariableManager.MIVariableObject, and then to ExprMetaGetVarInfo.
As result, although MI allows additional fields, a custom IDE cannot
access them, even though all of the above classes are in dsf.gdb
package.

This package firstly eliminates some code duplication, and then make
raw MITuple be propagated along the chain.

Change-Id: I57436fef65aaaf4805422df34466d10f2a205920
2015-04-06 20:51:54 +03:00
Marc Khouzam
9f27d7cc20 Bug 435144: Fix bp for GDB 7.0 and 7.1
Change-Id: Ia84bc47ff1b5711f2e27700c5b3356b73a704256
2015-03-27 11:42:43 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Mikhail Khodjaiants
3c13a71017 Revert "Bug 462988 - Register grouping should work with different implementations of IRegisters service"
This reverts commit 404c093923.
2015-03-24 15:23:43 -04:00
Mikhail Khodjaiants
404c093923 Bug 462988 - Register grouping should work with different
implementations of IRegisters service
2015-03-24 15:16:38 -04:00
Marc Khouzam
89cb33363e Use Diamond operator to simplify code
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-20 10:57:02 -04:00
Marc Khouzam
b26c273112 Bug 459114 - More cleanup of async handling for Multicore
Visualizer

This commit migrates the MulticoreVisualizer class to use the standard
DSF programming paradigm, which is to use RequestMonitors.  It also
renames some methods to better fit in that programming model.

Change-Id: Ie00a5dcb810fb13a4ac526ff221cc10bd52a3fca
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-20 10:07:28 -04:00