I am new to gdb python api. But I am not sure how can I get the get the value of a particular variable during the debug session
import gdb
print("Import Sucess")
gdb.execute('b 36')
gdb.execute('r')
gdb.execute('stepi')
#o=gdb.parameter('print check_counter')
print("Check Counter")
print(gdb.value)
print("Done")