Skip to content

Commit 6faaccf

Browse files
committed
make invoke method static
1 parent 4c84626 commit 6faaccf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backtrace_with_time/backtrace_with_time.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ class BacktraceWithTime(gdb.Command):
1515
def __init__(self):
1616
super(BacktraceWithTime, self).__init__("ubt", gdb.COMMAND_USER)
1717

18-
def invoke(self, arg, from_tty):
18+
@staticmethod
19+
def invoke(arg, from_tty):
1920

2021
# Get current time, so we can go back to it afterwards.
2122
original_time = udb.time.get()

0 commit comments

Comments
 (0)