Debugger: Move common dumper module code to DumperBase

Change-Id: Id411edcefbb56c480b87829062395dcb5244d2a5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-01-30 09:22:52 +01:00
parent c3f5bfe322
commit f479c1979e
3 changed files with 19 additions and 25 deletions
+1 -4
View File
@@ -2012,10 +2012,7 @@ registerCommand("stackListFrames", stackListFrames)
#######################################################################
def addExtraDumper(args):
(head, tail) = os.path.split(args)
sys.path.insert(1, head)
dumpermodules.append(os.path.splitext(tail)[0])
return str((head, tail))
theDumper.addDumperModule(args)
registerCommand("addExtraDumper", addExtraDumper)