This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Merge of readline 4.3 to mainline
Elena Zannoni writes:
> Michael Elizabeth Chastain writes:
> > The test suite is sick in gdb cvs HEAD. gdb.base/annota1.exp times out
> > nearly every test, gdb.base/arithmet.exp FAILs on 28 tests, and so on.
> >
> > Last week, gdb.log looked like this:
> >
> > # gdb.log, HEAD%2002-12-03
> > print x^M
> > $1 = 14^M
> > (gdb) PASS: gdb.base/arithmet.exp: print x
> >
> > This week, gdb.log looks like this:
> >
> > # gdb.log, HEAD%2002-12-09
> > ^M(gdb) p^M(gdb) p^M(gdb) pr^M(gdb) pr^M(gdb) pri^M(gdb) pri^M(gdb) prin^M(gdb) prin^M(gdb) print^M(gdb) print^M(gdb) print ^M(gdb) print ^M(gdb) print x^M(gdb) print x^M
> > $1 = 14^M
> > ^M^M(gdb) ^M(gdb) FAIL: gdb.base/arithmet.exp: print x
> >
> > This looks like readline 4.3 changed the way that it echoes text,
> > and that a lot of test scripts are sensitive to that. In particular,
> > the prompt changed from "(gdb) " to "^M^M(gdb) ^M(gdb) ".
> >
> > Maybe there is some setting to frob in readline to get back the
> > simple style of echo output?
> >
> > Michael C
>
> This is odd. I didn't see this in the tests I ran, and also on the branch.
> I'll take a look.
> Are you seeing this on a native/linux?
>
> Elena
I just did an update and built again, and I don't see anything odd.
Maybe something changed in expect/dejagnu? Hmm, I am up to date there
as well. I tested before doing the import on a i386 linux, and same
now, on my laptop.
Elena