This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/9] Background execution + pagination aborts readline/gdb
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 12 Sep 2014 20:05:50 -0400
- Subject: Re: [PATCH 6/9] Background execution + pagination aborts readline/gdb
- Authentication-results: sourceware.org; auth=none
- References: <1404400736-17307-1-git-send-email-palves at redhat dot com> <1404400736-17307-7-git-send-email-palves at redhat dot com>
On Thursday, July 03 2014, Pedro Alves wrote:
> If pagination occurs as result of output sent as response to a target
> event while the target is executing in the background, subsequent
> input aborts readline/gdb:
>
> $ gdb program
> ...
> (gdb) continue&
> Continuing.
> (gdb)
> ---Type <return> to continue, or q <return> to quit---
> *return*
> ---Type <return> to continue, or q <return> to quit---
> Breakpoint 2, after_sleep () at paginate-bg-execution.c:21
> ---Type <return> to continue, or q <return> to quit---
> 21 return; /* after sleep */
> p 1
> readline: readline_callback_read_char() called with no handler!
> *abort/SIGABRT*
> $
Hi Pedro,
FWIW, this patch caused
<https://sourceware.org/bugzilla/show_bug.cgi?id=17372>.
Cheers,
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/