title: In GDB, how do I execute a command automatically when program stops? (like display)
body: <p>I want some commands to be automatically executed each time the program stops, just like what display does with x. How do I do that?</p>