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: Michael Elizabeth Chastain <mec at shout dot net>
- To: ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Dec 2002 15:35:40 -0600
- Subject: Re: [PATCH] Merge of readline 4.3 to mainline
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