How can I set Emacs gdb so that it shows the most recent command when I press arrow-up?
In the Emacs gdb it will just go one line up in the buffer.
I know you can always just search backwards in the buffer and select a recent command there, but getting the command directly with arrow-up would be more convenient.