summaryrefslogtreecommitdiff
path: root/tester/rt/gdb.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-07 14:55:20 +1100
committerChris Johns <chrisj@rtems.org>2018-11-08 18:13:45 +1100
commite058db02816d7729e7cfa898522a6073f5d7e714 (patch)
treeaa70574c9b277224be596553881e75fc3924111c /tester/rt/gdb.py
parent087be8c67f04d9f3457e9c74a97e636bec202ead (diff)
python: Provide support to select a valid python version.
- Update imports after wrapping the code. - Fix python3 issues. - Fix config path issues for in repo and install runs. Closes #3537
Diffstat (limited to 'tester/rt/gdb.py')
-rw-r--r--tester/rt/gdb.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/tester/rt/gdb.py b/tester/rt/gdb.py
index 1669693..2416a50 100644
--- a/tester/rt/gdb.py
+++ b/tester/rt/gdb.py
@@ -48,16 +48,8 @@ from rtemstoolkit import execute
from rtemstoolkit import options
from rtemstoolkit import path
-#
-# Support to handle use in a package and as a unit test.
-# If there is a better way to let us know.
-#
-try:
- from . import console
- from . import pygdb
-except (ValueError, SystemError):
- import console
- import pygdb
+import console
+import pygdb
#
# The MI parser needs a global lock. It has global objects.