use prepare_for_testing in gdb.python/py-frame.exp