ATLAS Offline Software
Loading...
Searching...
No Matches
python.get_inferior Namespace Reference

Functions

 get_inferior ()

Function Documentation

◆ get_inferior()

python.get_inferior.get_inferior ( )
Return the PID of the current inferior, or None.

Definition at line 11 of file get_inferior.py.

11def get_inferior():
12 """Return the PID of the current inferior, or None."""
13 inf = gdb.selected_inferior()
14 if inf is None: return None
15 return inf.pid
16