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
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Dec 2002 16:38:06 -0500
- Subject: Re: [PATCH] Merge of readline 4.3 to mainline
- References: <200212092135.gB9LZe731068@duracef.shout.net>
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