diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-25 17:09:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-25 22:10:17 +0200 |
commit | f513741bdc91f1871bdb8b01b21058e208a96eb0 (patch) | |
tree | c1699325d1a6dd703887e70e8a2742925a14c1e1 /solenv/gdb | |
parent | eb688cf19d870909938690fd333bf3a5e5c97273 (diff) |
fix basegfx.py
after
commit 3c82f49fcee3f1e4ddae8919993dde57e8bbab2d
Author: Armin Le Grand (allotropia)
<armin.le.grand.extern@allotropia.de>
Date: Mon Sep 23 17:57:00 2024 +0200
Adapting basegfx.py due to blocking in some situations
Change-Id: Ie266c7b5aeb5dccaae03c26b7cd73cd65841748c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173949
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'solenv/gdb')
-rw-r--r-- | solenv/gdb/libreoffice/basegfx.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/solenv/gdb/libreoffice/basegfx.py b/solenv/gdb/libreoffice/basegfx.py index 9e5fa4c88d00..b2e4db94536c 100644 --- a/solenv/gdb/libreoffice/basegfx.py +++ b/solenv/gdb/libreoffice/basegfx.py @@ -60,7 +60,7 @@ class B2DPolygonPrinter(object): def _count(self): # It's a call into the inferior (being debugged) process. # Will not work with core dumps and can cause a deadlock. - if self.exists() + if self.exists(): return int(gdb.parse_and_eval( "(('basegfx::B2DPolygon' *) {})->count()".format(self.value.address))) @@ -70,7 +70,7 @@ class B2DPolygonPrinter(object): def _hasCurves(self): # It's a call into the inferior (being debugged) process. # Will not work with core dumps and can cause a deadlock. - if self.exists() + if self.exists(): return int(gdb.parse_and_eval( "(('basegfx::B2DPolygon' *) {})->areControlPointsUsed()".format(self.value.address))) != 0 @@ -153,14 +153,14 @@ class B2DPolyPolygonPrinter(object): def _count(self): # It's a call into the inferior (being debugged) process. # Will not work with core dumps and can cause a deadlock. - if self.exists() + if self.exists(): return int(gdb.parse_and_eval( "(('basegfx::B2DPolyPolygon' *) {})->count()".format(self.value.address))) def _isClosed(self): # It's a call into the inferior (being debugged) process. # Will not work with core dumps and can cause a deadlock. - if self.exists() + if self.exists(): return int(gdb.parse_and_eval( "(('basegfx::B2DPolyPolygon' *) {})->isClosed()".format(self.value.address))) != 0 |