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

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


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

---
 tools/gdb/python/supercore_printer.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/gdb/python/supercore_printer.py b/tools/gdb/python/supercore_printer.py
index 61241e3..d144b40 100644
--- a/tools/gdb/python/supercore_printer.py
+++ b/tools/gdb/python/supercore_printer.py
@@ -30,9 +30,11 @@
 # RTEMS Supercore pretty printers for GDB
 #
 
-import objects
+from __future__ import absolute_import
+
+from . import objects
 import itertools
-import threads
+from . import threads
 
 class id:
     """Print an object given the ID. Print using the struct display hint and an
-- 
2.21.0 (Apple Git-122.2)



More information about the devel mailing list