Do not use gdb.parse_and_eval in loop. It's very slow.