[PATCH v1 09/16] Py2/3 compliant tools/gdb/python/supercore.py

Anmol mishra anmol.j2020 at gmail.com
Wed Mar 18 12:19:19 UTC 2020


From: Anmol Mishra <anmol.j2020 at gmail.com>

---
 tools/gdb/python/supercore.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tools/gdb/python/supercore.py b/tools/gdb/python/supercore.py
index 318ebb7..dd1420e 100644
--- a/tools/gdb/python/supercore.py
+++ b/tools/gdb/python/supercore.py
@@ -31,8 +31,11 @@
 # RTEMS Supercore Objects
 #
 
-import threads
-import helper
+from __future__ import print_function
+from __future__ import absolute_import
+
+from . import threads
+from . import helper
 
 class time_of_day:
     '''Manage time of day object'''
-- 
2.21.0 (Apple Git-122.2)



More information about the devel mailing list