* How to customize GDB-UI layout ?
@ 2009-01-24 12:56 Francis Moreau
2009-01-24 21:32 ` Nick Roberts
[not found] ` <mailman.5673.1232832780.26697.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Francis Moreau @ 2009-01-24 12:56 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
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 ?
Also can the locals buffer can show the current function parameters as
well ?
Thanks
--
Francis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to customize GDB-UI layout ?
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>
1 sibling, 0 replies; 3+ messages in thread
From: Nick Roberts @ 2009-01-24 21:32 UTC (permalink / raw)
To: Francis Moreau; +Cc: help-gnu-emacs
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to customize GDB-UI layout ?
[not found] ` <mailman.5673.1232832780.26697.help-gnu-emacs@gnu.org>
@ 2009-01-25 20:46 ` Francis Moreau
0 siblings, 0 replies; 3+ messages in thread
From: Francis Moreau @ 2009-01-25 20:46 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-25 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).