This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binding F10 key to 'next'


If you're lazy like I am, you can also define some user commands:
You can even put them in a .gdbinit script like:

define d
 set confirm off
 del b
 set confirm on
end
document d
 delete all breakpoints
end

Denis

Andrà PÃnitz wrote:
On Tuesday 12 February 2008 20:45:18 Michael Snyder wrote:
On Mon, 2008-02-11 at 19:27 -0800, Chris Stankevitz wrote:
Is it possible to bind the F10 key to the "next" operation? [...]
If it is possible (which is likely), it would have to be
supported by your terminal or window manager, not by gdb.

Indeed.


If the environment you live in uses readline you can try putting
the following line (including all quotes) in your ~/.inputrc :

"\e[21~": "next\n"

Regards,
Andre'



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]