[Bug-readline] [gdb FYI-patch] callback-mode readline-6.0 regression

Jan Kratochvil jan.kratochvil@redhat.com
Wed Jun 23 15:07:00 GMT 2010


[ just a state recheck the problem no longer exists ]

On Mon, 30 Nov 2009 01:30:07 +0100, Chet Ramey wrote:
> Jan Kratochvil wrote:
> > FSF GDB currently ships bundled with readline-5.2 which works fine.
                                         readline-5.1 as I see now.
> > But using --with-system-readline and readline-6.0-patchlevel4 has
> > a regression:
> > 
> > readline-5.2: Run `gdb -nx -q' and type CTRL-C:
> > (gdb) Quit
> > (gdb) _
> > 
> > readline-6.0: Run `gdb -nx -q' and type CTRL-C:
> > (gdb) _
> >  = nothing happens (it gets buffered and executed later)
> > 	(It does also FAIL on gdb.gdb/selftest.exp.)
[...]
> Since readline-6.1 is very late in its development cycle, the best thing
> to do is to restore the readline-5.x behavior by testing for
> RL_ISSTATE(RL_STATE_CALLBACK) in rl_signal_handler.

I can confirm the regression no longer happens with FSF GDB HEAD,
--with-system-readline and readline-6.1-2.fc13.x86_64.


Thanks,
Jan



More information about the Gdb-patches mailing list