summaryrefslogtreecommitdiff
path: root/plugins/python/exectracer/exectracer.py
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-09-22 07:30:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-09-22 07:30:30 (GMT)
commit3d258ef61a6bf1787da61553a71b58b8a96c0832 (patch)
tree1bb5e97b5b1f236a506ebd20a6d65e123e76cc2e /plugins/python/exectracer/exectracer.py
parente5d10374c2aa3cedd679f34fb61457bd0b1c1d53 (diff)
Deleted the old execution tracer Python plugin.
Diffstat (limited to 'plugins/python/exectracer/exectracer.py')
-rw-r--r--plugins/python/exectracer/exectracer.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/python/exectracer/exectracer.py b/plugins/python/exectracer/exectracer.py
deleted file mode 100644
index 76e2ce4..0000000
--- a/plugins/python/exectracer/exectracer.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-from pyoida import Plugin
-
-
-class ExecTracer(Plugin):
- """Trace and replay debug executions."""
-
- def get_action(self):
- """Register the plugin for given actions."""
-
- return Plugin.PGA_DEBUGGER_ATTACH
-
- def handle_debugger(self, debugger, action):
- """Be notify about debugger attaching or detaching."""
-
- print "Python Hello !"
- print debugger
-
- for i in debugger.list_all_threads():
-
- print "Thread %d '%s'" % (i[0], i[1])
-
- frames = debugger.get_frames_stack(i[0])
-
- for frame in frames:
- print " 0x%08x" % frame[0]
-
- if len(frames) == 0:
- print " -"
-
-