Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
2018-12-28TCF Python: initial implementation of a basic Reset service clientSanimir Agovic3-0/+191
Usage: import tcf from tcf import protocol from tcf.util import sync from tcf.services import contextreset protocol.startEventQueue() c = tcf.connect("TCP:localhost:1534") cmds = sync.CommandControl(c) ctx = cmds.RunControl.getChildren(None).getE()[0] caps = cmds.ContextReset.getCapabilities(ctx).getE() print("Reset capabilities: {}".format(caps)) reset_type = caps[0][contextreset.CAPABILITY_TYPE] params = {contextreset.PARAM_SUSPEND : True} cmds.ContextReset.reset(ctx, reset_type, params).getE() Change-Id: I40e07e4c83e224b76d4c1a0df7d185ac374b68cd Signed-off-by: Sanimir Agovic <sanimir@subpath.org>
2017-11-28shell: enable commandline editing and auto completionSanimir Agovic1-2/+6
Enables commandline editing and binds tab-key to auto complete valid python identifies and keywords. Change-Id: I8490b10747be1d701fe61b0b3ae600e2de4c32aa Signed-off-by: Sanimir Agovic <sanimir@subpath.org>
2016-09-11Releng: Upversion TCF and TE to 1.5 everywhereMartin Oberhuber1-2/+2
Change-Id: I9867f01cb929fee50b53ebfa59ddeeac84e5c9bd Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2016-09-06Added missing complex value in type class.Frederic Leger1-23/+26
2016-07-15TCF Python - Added a python tool for documentationFrederic Leger30-2/+969
Usage: python docs.py {generate|clean|cleanall}
2016-07-07TCF Python: Python 3 compliance.Frederic Leger49-621/+1075
The whole TCF python code should now be python 2 AND python 3 compatible. As there are few tests, I made sure this works by running the BasicTests.py and ProcessStart.py using both a python2 or python3 interpreter.
2016-07-06Added dprintf service.Frederic Leger2-0/+143
The dprintf service interface and proxy.
2016-05-11TCF Python: Fix LocatorService CommandServer implementationAnton Leherbauer1-3/+3
2015-01-12TCF Python: Fix parsing/sending slave info in LocatorServiceAnton Leherbauer1-5/+5
2014-03-25Breakpoints service fix.Frederic Leger1-1/+1
The Breakpoint instance object mistakenly returned instance size instead of instance type.
2014-03-25Documentation fix.Frederic Leger2-22/+53
The documentation was mentionning that the access mode capability was a boolean, while it is an integer instead. Reference anchors have been added for all property arrays too.
2014-03-14Python - Added Processes_v1 service update.Frederic Leger4-47/+203
The getCapabilities() method has been added to the Processes_V1 service along with the values it uses. The services documentation has been updated and can now be generated using sphinx.
2014-03-13Python - Copyright dates update.Frederic Leger27-27/+27
2014-03-13Python - Misc PEP8 fixes.Frederic Leger3-10/+10
2014-03-13Python - Cache utility update.Frederic Leger1-10/+13
Prevent waiting list manipulation errors.
2014-03-13Python - PyDev edition warnings removal.Frederic Leger1-20/+20
2014-03-13Python - StackTrace service update.Frederic Leger1-91/+269
The StackTrace service can now be documented using sphinx. Some operators have been added to the StackTraceContext object so that one can compare StackTrace contexts.
2014-03-13Python - RunControl service update.Frederic Leger1-298/+757
The RunControl service can now be documented using sphinx. The getISA() nethod has been added along with a RunControlISA class to handle returned ISA (Instruction Set Architecture) objects.
2014-03-13Python - memory map service update.Frederic Leger1-97/+274
The memorymap service can now be documented using sphinx. The __contains__() method has been added to the MemoryRegion class so that one can do something like : if address in memoryregion: # do that
2014-03-13Python - locator service update.Frederic Leger1-28/+175
Locator service can now be documented using sphinx. The getAgentID() service method has been added too.
2014-03-13Python - services documentation.Frederic Leger16-2288/+5931
Services can now be documented using sphinx.
2014-03-13Python - breakpoints service enhancements.Frederic Leger1-147/+753
An effort to make this services documented using sphinx. The class BreakpointInstance has also been added to easily handle breakpoints instances retrieved from breakpoints events.
2014-03-13Python documentation.Frederic Leger1-9/+25
Most of this modification is for documentation. The DefaultServiceProvider class also relies on its module name rather than on a hard coded value to determine the proxies module names.
2014-03-13Python - Symbol Proxy fixes.Frederic Leger1-3/+3
Several methods had some bad copy/paste. Following methods have been fixed : - getLocationInfo() - getSymFileInfo() - findByName()
2014-03-13Improve debug output in the case of exception.Frederic Leger13-28/+113
Another ound of adding the stacktrace at the time of the exception.
2014-03-13Disassembly opcode value fix.Frederic Leger1-1/+2
The OpcodeValue field of a disassembled instruction was not set to a byte array as specified by the documentation.
2014-03-13Stricter PEP8.Frederic Leger1-24/+22
Applied strict PEP8 coding style.
2014-03-13Improve debug output in the case of exception.Frederic Leger2-12/+18
Add the stacktrace at the time of the exception.
2013-05-17Copyright year is updated in files that changed in 2013Eugene Tarassov2-2/+2
2013-03-28TCF Python: Initial sample for usersFrederic Leger1-0/+655
2013-01-16TCF Python: Bug 397827 - Use relative imports inside tcf package modulesFrederic Leger62-1060/+1983
2013-01-04TCF Python: Bug 397360 - Bug in ExpressionProxy.getContextJerome Guiban1-2/+2
2012-10-29TCF Python: Bug 392892 - Pathmap service does not handle pathmap eventsFrederic Leger2-13/+60
2012-10-23TCF Python: Ignore .pyc filesAnton Leherbauer1-0/+1
2012-10-23TCF Python: Bug 392583 - Fix packet header removalBenoit Perrin1-1/+2
2012-09-24TCF Python: Bug 390178 - Missing APIs/properties in python servicesFrederic Leger20-522/+1307
interfaces and proxies
2012-08-06TCF Python: Bug 386552 - Missing processes properties in processes_v1.pyFrederic Leger1-9/+19
2012-07-20TCF Python: Bug 385160 - Memory.set command fails to generate the errorJerome Guiban1-3/+3
string when command fails
2012-06-25TCF Python: Bug 382488 - Trailing comma at the end of the TYPE_SOFTWAREFrederic Leger1-94/+118
property name
2012-06-11TCF Python: Bug 382099 - FileSystemProxy copy command must remove idLaura Le Padellec1-1/+1
from arguments
2012-06-04TCF Python: Bug 381578 - mkdir missing pathLaura Le Padellec1-35/+108
2012-05-31Fix locator service updating peer attributes.Anton Leherbauer3-70/+134
2012-05-16Bug 379583 - runcontrol service interface lacks some APIsFrederic Leger1-66/+168
2012-04-17Bug 376883 - ContextQuery service is missingManuel Coutand2-0/+124
2012-03-12TCF Python: Bug 373655 - EventQueue.py refers to unexisting variable inFrederic Leger1-9/+15
isShutdown() method
2012-03-02TCF Python: Bug 372940 - LocatorService on Linux is not able to getFrederic Leger1-14/+67
remote peers
2012-02-28TCF Python: Bug 372735 - LocatorService fails to parse peer attributesAnton Leherbauer1-34/+39
2012-02-27TCF Python: Follow up on fix for bug 372472Chris Wyse1-1/+1
2012-02-24TCF Python: Bug 372472 - Memory error handling & attached propertyChris Wyse2-5/+5
issues
2012-02-24TCF Python: Improve BasicTests and make PEP8 compliantAnton Leherbauer1-88/+228

Back to the top