From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: gdb-ui
Date: Thu, 9 Mar 2006 08:24:50 +1300 [thread overview]
Message-ID: <17423.12162.607433.102530@kahikatea.snap.net.nz> (raw)
In-Reply-To: <m3d5gxl09l.fsf@kfs-l.imdomain.dk>
> > I attach a patch that deals with this problem by making the user decide
> > if input is for GDB or the inferior (<return> queues the input (for GDB),
> > <C-return> sends it immediately (for the program being debugged)). Its
> > not attractive but I think it is necessary if the GUD buffer is used for
> > input to both.
>
> But how does a user know whether to hit RET or C-M-RET at any
> given moment?
If the program is expecting input it normally prompts the user with output e.g
Enter number of iterations:
If the program has no input, the user doesn't need to do anything new and the
change just helps to prevent gdb-ui getting confused.
> If he made the wrong choice, isn't it too late to correct it anyway?
It depends on what he typed and whether he pressed RET or C-M-RET by mistake.
Currently if a user enters input while the program is still running, gdb-ui
tries to recover with gdb-resync.
> In any case: Please don't use C-return ...
> CUA-mode binds C-return globally to toggle rectangle marking.
>
> C-M-return would be ok...
C-return and C-M-return don't seem to be available on a terminal anyway.
Could I just use M-return?
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2006-03-08 19:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-08 8:27 gdb-ui Nick Roberts
2006-03-08 10:05 ` gdb-ui Kim F. Storm
2006-03-08 12:15 ` gdb-ui Markus Gritsch
2006-03-08 13:08 ` gdb-ui Kim F. Storm
2006-03-08 19:24 ` Nick Roberts [this message]
2006-03-08 20:27 ` gdb-ui Kim F. Storm
2006-03-08 21:23 ` gdb-ui Nick Roberts
2006-03-09 8:20 ` gdb-ui Kim F. Storm
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=17423.12162.607433.102530@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--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.