From: Augusto Fraga Giachero <augustofg96@gmail.com>
Date: Sun, 28 Aug 2016 12:18:32 -0300
I'm using the gdb debugger through the Emacs GUD interface and I've
thought that would be better to have a dedicated buffer just to display
all local and global variables. I known that I can use the "display"
command on the gdb shell, but I think a separated buffer would be way
better.
Someone has already done it? If not, can someone please point to where
to tinker with the GUD source code? I have a basic understanding of elisp.
Did you try the alternative front-end in gdb-mi.el? It can display
the local variables of the current stack frame in a separate window
(you might need to invoke "M-x gdb-many-windows RET" for it to show).