I'm trying to use info symbol $frameptr but in a gdb script. Is there an equivalent in the gdb python API?