This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]