Skip to content

Improve GDB-MI user interface

License

Notifications You must be signed in to change notification settings

emacsmirror/gdb-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.