From 9b54a9c250a179d03965c24b3d7d01d3244fe6d0 Mon Sep 17 00:00:00 2001 From: Iain Ireland Date: Fri, 23 Oct 2020 19:12:14 +0000 Subject: [PATCH] Bug 1673049: Fix jitsrc with breakpoints r=mgaudet DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D94627 --- js/src/gdb/mozilla/jitsrc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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