[PATCH v1 01/16] Py2/3 compliant tools/gdb/python

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


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

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

diff --git a/tools/gdb/python/__init__.py b/tools/gdb/python/__init__.py
index 0ea5fb2..dfbe6ba 100644
--- a/tools/gdb/python/__init__.py
+++ b/tools/gdb/python/__init__.py
@@ -27,8 +27,11 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
+from __future__ import print_function
+from __future__ import absolute_import
+
 import gdb
-import rtems
+from . import rtems
 
 def get_architure():
     frame = gdb.selected_frame()
-- 
2.21.0 (Apple Git-122.2)



More information about the devel mailing list