unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Augusto Fraga Giachero <augustofg96@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: GDB GUD Variable Buffer
Date: Sun, 28 Aug 2016 13:35:51 -0300	[thread overview]
Message-ID: <618416c0-3a8a-1bd9-2496-b864c3df3697@gmail.com> (raw)
In-Reply-To: <83zinwc2jy.fsf@gnu.org>

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	other threads:[~2016-08-28 16:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 14:54 Referencing variables beginning with an asterisk in docstrings broken? Nathanael Schweers
2016-08-28  1:55 ` Stefan Monnier
2016-08-28 15:18   ` GDB GUD Variable Buffer Augusto Fraga Giachero
2016-08-28 15:53     ` Eli Zaretskii
2016-08-28 16:35       ` Augusto Fraga Giachero [this message]
2016-08-28 16:54         ` Eli Zaretskii
2016-08-28 23:32   ` Referencing variables beginning with an asterisk in docstrings broken? Nathanael Schweers
2016-08-29  0:32     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=618416c0-3a8a-1bd9-2496-b864c3df3697@gmail.com \
    --to=augustofg96@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).