Reputation: 4344
In a Unix terminal you can use the up arrow key to go back through previous commands, and it remembers these commands even if you close your terminal and open it again later. Is there a way to do this with gdb? When I close gdb it seems to forget previously used commands.
Upvotes: 2
Views: 404
Reputation: 213476
Google for "gdb save history" gives this link, which says you need to set history save on
.
Upvotes: 1