This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: continuations and breakpoint commands
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Pierre Muller <muller at ics dot u-strasbg dot fr>
- Date: Fri, 2 May 2008 11:36:55 -0400
- Subject: Re: continuations and breakpoint commands
- References: <200804292221.52239.pedro@codesourcery.com> <200804301416.19459.pedro@codesourcery.com> <000001c8aad0$4d7cc080$e8764180$@u-strasbg.fr> <200804301559.34896.pedro@codesourcery.com>
On Wed, Apr 30, 2008 at 03:59:34PM +0100, Pedro Alves wrote:
> > What happens to the already typed chars in the
> > case of a prompt switch?
> >
>
> No sure I understood that. When the inferior is running in
> sync execution, any typed character goes to the inferior, while
> in async execution the terminal stays with GDB and GDB interprets
> any command you pass to it.
I think he's asking what happens when the program hits a breakpoint
while you're mid-typing. I assume we print some output and readline
redraws the prompt line?
--
Daniel Jacobowitz
CodeSourcery