Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
debuggergdb command history combo refinement
(1/1)
codeman:
Another gdb patch I submitted a few days ago:
https://developer.berlios.de/patch/?func=detailpatch&patch_id=3154&group_id=5358
At the moment when you type a command into the debugger combo box, it inserts it in the history at the beginning, so you have to press DOWN to access the last command to repeat it. This is annoying and the opposite to what you expect from other command consoles like Bash or Quake.
I changed it so that the last gdb command is appended to the end of the combo list, so you can press UP to repeat the most recent one. Nice and intuitive.
Also, commands in the list are unique, so if the entered command was already in the history it is moved down to the bottom to become the most recent again.
oBFusCATed:
Ah, thanks... this was annoying for me, too...
p.s. if you make other debugger patches in the future, please do so against the debugger's branch, because there are many improvements and changes. (I'll port your patch to the branch)
oBFusCATed:
In svn, thank you
killerbot:
can this patch also be applied to trunk ?
Then we have a debugger improvement there also ;-)
oBFusCATed:
Morten or Jens should decide, because they do the merging.
And applying the patch would probably make them suffer...
Navigation
[0] Message Index
Go to full version