summaryrefslogtreecommitdiff
path: root/tester/rt/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tester/rt/config.py')
-rw-r--r--tester/rt/config.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/tester/rt/config.py b/tester/rt/config.py
index 673c39b..457c0bd 100644
--- a/tester/rt/config.py
+++ b/tester/rt/config.py
@@ -46,6 +46,8 @@ from rtemstoolkit import execute
from rtemstoolkit import log
from rtemstoolkit import path
+from rtemstoolkit import stacktraces
+
import console
import gdb
import tftp
@@ -341,7 +343,14 @@ class file(config.file):
def _realtime_trace(self, text):
for l in text:
- print(''.join(l))
+ self._unlock()
+ try:
+ print(''.join(l))
+ except:
+ stacktraces.trace()
+ raise
+ finally:
+ self._lock()
def run(self):
self.target_start_regx = self._target_regex('target_start_regex')