how to give gdb's commands shortcuts?

  • Follow


hello all,
Sometimes, I use gdb's step(C-c C-s and C-c C-n) and continue to debug
programs.
but pressing C-c C-n is slow. I want use F11 to do C-c C-n.
How to ?

thanks in advance.

0
Reply zhuyin.nju (40) 2/20/2006 8:53:53 AM

Thomas Chu schrieb:
> hello all,
> Sometimes, I use gdb's step(C-c C-s and C-c C-n) and continue to debug
> programs.
> but pressing C-c C-n is slow. I want use F11 to do C-c C-n.
> How to ?

C-c C-n stands for gud-next, so you can use
(global-set-key [f11] 'gud-next) or you can use a local key map.


C-n C-s = gud-step

regards

Marc


0
Reply Marc 2/20/2006 9:09:39 AM


1 Replies
262 Views

(page loaded in 0.215 seconds)

Similiar Articles:













7/20/2012 10:05:42 PM


Reply: