Extra utilities for improving the user interface of gdb-mi.el.
This package improves upon the defaults provided by gdb-mi
.
- It ensures that sources and assembly lines to be executed are centred on the buffers displaying them.
- Restores the window configuration prior to starting the GDB session.
- Updates
hl-line
in disassembly buffers.
This screenshot shows gdb-x-many-windows-mode
:
This package is available on MELPA!
Add this to your configuration file:
(use-package gdb-x
:general
(:keymaps
'(gud-mode-map gud-minor-mode-map)
"C-c C-'" 'gdb-x-many-windows-mode
"C-c C-q" 'gdb-x-gud-quit)
:init
(gdb-x-mode 1))
Run gdb-x-many-windows-mode
in a GDB session. This is meant to replace the use case of gdb-many-windows
.
To exit GDB use gdb-x-gud-quit
bound to C-c C-q
in gdb-x-many-windows-mode-map
.