]> git.eshelyaron.com Git - emacs.git/commit
Add filter to GDB's register buffer
authorYuan Fu <casouri@gmail.com>
Sat, 24 Jul 2021 17:11:08 +0000 (19:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 24 Jul 2021 17:11:08 +0000 (19:11 +0200)
commit7c83e605ab84e8b62254c55f347abc8aa9c6057b
treec865e4a90ba2fcb002928070c892e60917f0dccb
parent42d4537ed2cae41c969f59b413b4b9adae6dbc9b
Add filter to GDB's register buffer

* lisp/progmodes/gdb-mi.el (gdb-registers-enable-filter)
(gdb-registers-filter-pattern-list): New custom options.
(gdb-header-click-event-handler, gdb-registers-toggle-filter): New
functions.
(gdb-header-click-event-handler): Only add a register if it passes the
filter.
(gdb-registers-mode-map): New keybinding for toggling the filter.
(gdb-registers-header): New buttons on the header line for the
filter (bug#39179).
etc/NEWS
lisp/progmodes/gdb-mi.el