From: Ian Jackson Date: Tue, 17 Oct 2017 17:11:29 +0000 (+0100) Subject: fishdescriptor: wip (found) X-Git-Tag: archive/debian/6.0.0~1^2~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=42c13be0ac6147fa4150d93225b81e6c5a928a4d fishdescriptor: wip (found) Signed-off-by: Ian Jackson --- diff --git a/fishdescriptor/py/fishdescriptor/indonor.py b/fishdescriptor/py/fishdescriptor/indonor.py index b366e23..f0e621b 100644 --- a/fishdescriptor/py/fishdescriptor/indonor.py +++ b/fishdescriptor/py/fishdescriptor/indonor.py @@ -27,8 +27,8 @@ def _string_escape_for_c(s): out += chr(c) return out -class DonorImplementation(preloaded=False): - def __init__(self): +class DonorImplementation(): + def __init__(self, preloaded=False): # works on the current gdb.Inferior # ideally should be reused if the same process is targetd self._open = None