I appreciate all your help. I was just trying to automatically set a breakpoint 
at the current line in the source code, then run cgdb to hit the current line.

  map <F6> :exe "!cgdb a.out -ex='b %:p:'" .line('.') " -ex='r'"<Cr>

I've just made the above mapping and found it useful now.
Thank you very much for all your help!

Regards,
Honggyu

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to