Binding F10 key to 'next'

Denis PILAT denis.pilat@st.com
Wed Feb 13 10:02:00 GMT 2008


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'
>
>   



More information about the Gdb mailing list