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
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>
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>
I used this command to print a summary of the updates:
mvn versions:display-plugin-updates -Djava.net.useSystemProxies | grep "\\->" | sort | uniq
The command reports which maven plugin versions are outdated per cdt project (pom.xml). The extra grep and sort are just to make it display as a short summary.
Change-Id: I6abec0c1d510aac4599fb0d573d443807ee84a7b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
isEmpty is garantied to be as fast or faster than size and
length. It is also easier to read.
Change-Id: Ia768910c21313666aeab774963c0b6e82d825b44
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
I got a feedback that the error message when passing an unsupported
version should be more helpful.
Change-Id: I3c925c500d6de787ca9bfce421eda6109e9f6415
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
MIMemoryTest.writeCharVarying{Address,Offset}
When we switched SyncUtil.readMemory to use queries, it exposed a race
condition with the asserts that check for the number of event received.
Basically, nothing guarantees that when the assert is evaluated the
event had the time to arrive.
We now use a ServiceEventWaitor to wait until the event arrives (with a
timeout, of course).
At the same time, rename word_size to wordSize.
Change-Id: I6f4b51e22f46625e20bbbdbac91cf70cfd864e5e
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
As it is now, if you pass a start address but no end address (null), the
disassembled range will be [startAddress, $pc + 100], which does not
quite make sense.
I think the intention was to have the default end address be whatever
the start address is, + 100.
Change-Id: I1399cc116ecde6cfbdb2f1ec54a181e64a7f4c5f
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reduce function complexity and comply with java coding styles.
Convert some larger ifs to switches for performance sake.
Change-Id: Ief2672141511a1373cdd8a98e0fa2eeb564816e1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
There is a superfluous LINE_MAIN_BEFORE_THREAD_START that is causing
problems, remove it.
Change-Id: I57c4637ada0b5efda2848029e5216a13cf638067
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
This permits derived classes to reimplement the logic for getting
expression value without copy-pasting the logic for getting type.
Change-Id: I21b048afaee8433d17e873b7aaf4f7b118edd107
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.
Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
- 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
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>