[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb-ui

From: Kim F. Storm
Subject: Re: gdb-ui
Date: Wed, 08 Mar 2006 21:27:30 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

>  > > 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.

But in most cases, gdb-ui is not confused (right?) so how does the user
know when gdb-ui _is_ confused so he should use M-return?

>  > 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?

What about C-u RET ?  Then we don't need another key.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]