unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to customize GDB-UI layout ?
Date: Sun, 25 Jan 2009 21:46:06 +0100	[thread overview]
Message-ID: <m27i4jm7w1.fsf@gmail.com> (raw)
In-Reply-To: mailman.5673.1232832780.26697.help-gnu-emacs@gnu.org

Nick Roberts <nickrob@snap.net.nz> writes:

>  > I'm using 'M-x gdb' as GDB interface with 'gdb-many-windows' set to
>  > 't'.
>  > 
>  > I'd like to customize the default layout which is:
>  > 
>  >      +--------------------------------+--------------------------------+
>  >      |   GUD buffer (I/O of GDB)      |   Locals buffer                |
>  >      |--------------------------------+--------------------------------+
>  >      |   Primary Source buffer        |   I/O buffer for debugged pgm  |
>  >      |--------------------------------+--------------------------------+
>  >      |   Stack buffer                 |   Breakpoints buffer           |
>  >      +--------------------------------+--------------------------------+
>  > 
>  > For example, I'd like to switch the I/O buffer and the GUD one.
>  > 
>  > Is This possible ?
>
> No, but it would be quite easy to edit the gdb-setup-windows to do this.
>
>  > Also can the locals buffer can show the current function parameters as
>  > well ?
>
> No, but there is an MI command that can do this.  Currently all the frames
> arguments can be seen in the stack buffer.  This is quite expensive to
> compute and when emacs migrates to MI they won't be available there.  So,
> in the future those of the current frame will probably be added to the locals
> buffer as you suggest.

ok

Thanks
-- 
Francis


      parent reply	other threads:[~2009-01-25 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 12:56 How to customize GDB-UI layout ? Francis Moreau
2009-01-24 21:32 ` Nick Roberts
     [not found] ` <mailman.5673.1232832780.26697.help-gnu-emacs@gnu.org>
2009-01-25 20:46   ` Francis Moreau [this message]

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=m27i4jm7w1.fsf@gmail.com \
    --to=francis.moro@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).