Reputation: 7602
Is it possible to bind a command to a single button in GDB, F12 for example?
(as usual, don't try to sell emacs or find out "what are you trying to do")
Upvotes: 2
Views: 452
Reputation: 10271
gdb uses the readline library, so you could put the following in ~/.inputrc
to bind F12 to the continue
command:
"\e[24~":"continue\r"
Upvotes: 2