Source code for mcgdb.toolbox.target.system.Linux

my_access = None

[docs]def init(my_gdb_pkg): global my_access from .. import my_access as access_pkg my_access = access_pkg
[docs]def is_alive(pid): return my_access.access("/proc/%d" % pid, my_access.F_OK)