From: Nick Roberts <nickrob@snap.net.nz>
To: Francis Moreau <francis.moro@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to customize GDB-UI layout ?
Date: Sun, 25 Jan 2009 10:32:46 +1300 [thread overview]
Message-ID: <18811.35070.383661.947973@kahikatea.snap.net.nz> (raw)
In-Reply-To: <m2r62shnfx.fsf@gmail.com>
> 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.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2009-01-24 21:32 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 [this message]
[not found] ` <mailman.5673.1232832780.26697.help-gnu-emacs@gnu.org>
2009-01-25 20:46 ` Francis Moreau
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18811.35070.383661.947973@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.