Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.01 KB

README.org

File metadata and controls

34 lines (26 loc) · 1.01 KB

gdb-x.el — Improve GDB-MI user interface

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.

Screenshots

This screenshot shows gdb-x-many-windows-mode: screenshot.png

Installation

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

Usage

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.