From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Re: gdba probs
Date: Sun, 8 Dec 2002 01:55:06 +0000 [thread overview]
Message-ID: <15858.42618.90759.591751@nick.uklinux.net> (raw)
In-Reply-To: <E18KmST-0005cp-00@fencepost.gnu.org>
Richard Stallman writes:
> > The totalview debugger starts with 6 windows. But, hey!, lets be open
> > minded about this. How do you know you don't want them before you know
> > what they do ?
> Is there a way to make it more self-evident what these windows do?
> What measures are taken in the code as it is now
> to show the user what these windows do and how to use them?
At the moment there's only what you get from `C-h f gdba' (reproduced below).
As far as layout goes, I share some of Miles' reservations. There are a
further 3 buffers (assembler, registers, display) that the user might want to
display and each user will have his/her own preferences. I have looked at trying
to save a window configuration and I note that this concept has been on the
TODO list of desktop.el for a long time. I can imagine this is not an easy
thing to do.
As for what each buffer does I could start to document it in info format but
its still evolving and I don't know if there is sufficient interest yet. Apart
from the errors, I like to think much of the functionality is self evident. What
do others think ?
Nick
---------------------------
gdba is an interactive compiled Lisp function in `gdb-ui'.
(gdba COMMAND-LINE)
Run gdb on program FILE in buffer *gdb-FILE*.
The directory containing FILE becomes the initial working directory
and source-file directory for your debugger.
If `gdb-many-windows' is set to t this works best in X (depending on the size
of your monitor) using most of the screen. After a short delay the following
layout will appear (keybindings given in relevant buffer) :
---------------------------------------------------------------------
GDB Toolbar
---------------------------------------------------------------------
GUD buffer (I/O of gdb) | Locals buffer
|
|
|
---------------------------------------------------------------------
Source buffer | Input/Output (of debuggee) buffer
| (comint-mode)
|
|
|
|
|
|
---------------------------------------------------------------------
Stack buffer | Breakpoints buffer
[mouse-2] gdb-frames-mouse-select | SPC gdb-toggle-bp-this-line
| g gdb-goto-bp-this-line
| d gdb-delete-bp-this-line
---------------------------------------------------------------------
All the buffers share the toolbar and source should always display in the same
window e.g after typing g on a breakpoint in the breakpoints buffer. Breakpoint
icons are displayed both by setting a break with gud-break and by typing break
in the GUD buffer.
Displayed expressions appear in separate frames. Arrays may be displayed
as slices and visualised using the graph program from plotutils if installed.
If `gdb-many-windows' is set to nil then gdb starts with just two windows :
the GUD and the source buffer.
The following interactive lisp functions help control operation :
`gdb-many-windows' - Toggle the number of windows gdb uses.
`gdb-restore-windows' - to restore the layout if its lost.
`gdb-quit' - to delete (most) of the buffers used by gdb.
next prev parent reply other threads:[~2002-12-08 1:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 20:40 gdba probs Nick Roberts
2002-12-05 21:49 ` Stefan Monnier
2002-12-07 2:38 ` Nick Roberts
2002-12-07 3:10 ` Miles Bader
2002-12-09 15:46 ` Stefan Monnier
2002-12-10 14:19 ` Stefan Monnier
[not found] ` <15862.30022.647969.267154@nick.uklinux.net>
[not found] ` <200212111411.gBBEBUn03805@rum.cs.yale.edu>
2002-12-11 22:27 ` Nick Roberts
2002-12-11 22:48 ` Stefan Monnier
2002-12-12 0:05 ` Nick Roberts
2002-12-12 13:49 ` Stefan Monnier
2002-12-12 14:13 ` Miles Bader
2002-12-13 22:21 ` Richard Stallman
2002-12-12 1:24 ` Miles Bader
2002-12-12 10:22 ` Kim F. Storm
2002-12-15 0:36 ` Nick Roberts
2002-12-07 21:25 ` Richard Stallman
2002-12-08 1:55 ` Nick Roberts [this message]
2002-12-09 20:21 ` Richard Stallman
2002-12-10 21:39 ` Nick Roberts
2002-12-10 23:44 ` Kim F. Storm
2002-12-11 20:40 ` Richard Stallman
2002-12-08 2:27 ` Miles Bader
2002-12-10 14:14 ` Stefan Monnier
2002-12-11 17:45 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2002-12-05 6:19 Miles Bader
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=15858.42618.90759.591751@nick.uklinux.net \
--to=nick@nick.uklinux.net \
--cc=emacs-devel@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.