help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB GUD Variable Buffer


From: Augusto Fraga Giachero
Subject: Re: GDB GUD Variable Buffer
Date: Sun, 28 Aug 2016 13:35:51 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Oh, I've forgotten the gdb-many-windows mode. Yes, it does show a variable buffer as I wanted, but it displays too many windows, I'll try to customize it.

Another question, do you know how to automatically execute an elisp function right after I close the GUD session? That's because now I need to kill a gdb server process each time I exit gdb.

Thanks,
Augusto Fraga Giachero.


On 28-08-2016 12:53, Eli Zaretskii wrote:
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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]