I am currently debugging a program with gdb. I have to start gdb over and over again and do the same steps:
set a breakpoint, run, print a variable, quit
Is there a way to let gdb do that automatically for me? Probably a script that could be attached as a parameter?
Thanks in advance!