diff options
Diffstat (limited to 'gdb_plugins')
-rw-r--r-- | gdb_plugins/rblog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb_plugins/rblog.py b/gdb_plugins/rblog.py index c058db9..e57aefa 100644 --- a/gdb_plugins/rblog.py +++ b/gdb_plugins/rblog.py @@ -5,7 +5,7 @@ class RBlog(gdb.Command): def invoke(self, arg, from_tty): args = gdb.string_to_argv(arg) if len(args) != 1: - print 'Usage: rblog <object>' + print('Usage: rblog <object>') return rblog = gdb.parse_and_eval(args[0]) @@ -32,6 +32,6 @@ class RBlog(gdb.Command): except: pass - print '%8d %-80s %s' % (timestamp, string, ' '.join('%08x' % a for a in arguments)) + print('%8d %-80s %s' % (timestamp, string, ' '.join('%08x' % a for a in arguments))) RBlog() |