Gdb Script Loop While Multiple Conditions In Python For All Selected Lines