def use_globals(): a = 1 gdb() b = 2 gdb_init() return a + b
def impl_gdb_call(a): gdb('-ex', 'set confirm off', '-ex', 'c', '-ex', 'q') b = a + 1 c = a * 2.34 d = (a, b, c) print(a, b, c, d)
def impl_gdb_call(a): gdb("-ex", "set confirm off", "-ex", "c", "-ex", "q") b = a + 1 c = a * 2.34 d = (a, b, c) print(a, b, c, d)