diff --git a/js/src/gdb/mozilla/jitsrc.py b/js/src/gdb/mozilla/jitsrc.py index a8d66fb45688..6e629e7bf0f2 100644 --- a/js/src/gdb/mozilla/jitsrc.py +++ b/js/src/gdb/mozilla/jitsrc.py @@ -48,7 +48,7 @@ class JitSource(gdb.Command): self.dont_repeat() def disable_breakpoints(self): - self.disabled_breakpoints = [b for b in gdb.breakpoints() if b.enabled()] + self.disabled_breakpoints = [b for b in gdb.breakpoints() if b.enabled] for b in self.disabled_breakpoints: b.enabled = False