I am trying to execute two commands at once in gdb:
finish; next
I tried using the ';' to separate the commands but gdb did not let me do both at once.
Is it possible to do multiple commands in gdb similar to bash commands separated by ';' delimiter?
Best Answer
I don't believe so (but I may be wrong). You can do something like this:
And then just type:
You can put this in your
~/.gdbinit
file as well so it is always available.