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

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


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

---
 tools/gdb/python/classic_printer.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/gdb/python/classic_printer.py b/tools/gdb/python/classic_printer.py
index 86e0eeb..121edc8 100644
--- a/tools/gdb/python/classic_printer.py
+++ b/tools/gdb/python/classic_printer.py
@@ -1,7 +1,10 @@
 #
 # RTEMS Classic pretty printers for GDB
 #
-import classic
+
+from __future__ import absolute_import
+
+from . import classic
 import gdb
 
 class attribute:
-- 
2.21.0 (Apple Git-122.2)



More information about the devel mailing list