aboutsummaryrefslogtreecommitdiff
path: root/gdb/system-gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/system-gdbinit')
-rw-r--r--gdb/system-gdbinit/elinos.py2
-rw-r--r--gdb/system-gdbinit/wrs-linux.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/system-gdbinit/elinos.py b/gdb/system-gdbinit/elinos.py
index 0672474..95a9529 100644
--- a/gdb/system-gdbinit/elinos.py
+++ b/gdb/system-gdbinit/elinos.py
@@ -21,7 +21,7 @@ import gdb
def warn(msg):
- print "warning: %s" % msg
+ print("warning: %s" % msg)
def get_elinos_environment():
diff --git a/gdb/system-gdbinit/wrs-linux.py b/gdb/system-gdbinit/wrs-linux.py
index 88e1109..e4b225a 100644
--- a/gdb/system-gdbinit/wrs-linux.py
+++ b/gdb/system-gdbinit/wrs-linux.py
@@ -21,5 +21,5 @@ if "ENV_PREFIX" in os.environ:
gdb.execute("set sysroot %s" % os.environ["ENV_PREFIX"])
else:
- print "warning: ENV_PREFIX environment variable missing."
- print "The debugger will probably be unable to find the correct system libraries"
+ print("warning: ENV_PREFIX environment variable missing.")
+ print("The debugger will probably be unable to find the correct system libraries")