gdb-ui.el from emacs23.3b