aboutsummaryrefslogtreecommitdiff
path: root/gdb/system-gdbinit/elinos.py
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-04-26 11:37:46 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-26 11:51:14 -0400
commit6bdd7cf11d503be3b85320668b223fcd5cc9f2f4 (patch)
tree29d9905b3804539e17687bc08d33a867270de143 /gdb/system-gdbinit/elinos.py
parent0b60b9634430caebb640ef9b943049bdc6aa8f6f (diff)
downloadgdb-6bdd7cf11d503be3b85320668b223fcd5cc9f2f4.zip
gdb-6bdd7cf11d503be3b85320668b223fcd5cc9f2f4.tar.gz
gdb-6bdd7cf11d503be3b85320668b223fcd5cc9f2f4.tar.bz2
gdb: make some random Python files Python 3-compatible
I noticed that these files failed to format with Black, because they use print without parenthesis (which isn't Python 3 compatible). I don't know if these files are still relevant, but the change is trivial, so here it is. Change-Id: I116445c2b463486016f824d32effffc915b60766
Diffstat (limited to 'gdb/system-gdbinit/elinos.py')
-rw-r--r--gdb/system-gdbinit/elinos.py2
1 files changed, 1 insertions, 1 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():