From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] Workaround timeout in default.exp Date: Fri, 21 May 2004 16:10:00 -0000 Message-id: <20040521161041.GL10684@gnat.com> References: <20040518210147.GQ10684@gnat.com> <20040518214255.GC4036@nevyn.them.org> <20040520014811.GR10684@gnat.com> <20040520022747.GA451@nevyn.them.org> <20040521011443.GG10684@gnat.com> <20040521013147.GA19027@nevyn.them.org> <20040521014335.GI10684@gnat.com> X-SW-Source: 2004-05/msg00633.html > Darn. This discussion sounded familiar; it turns out I had a patch > for this written back in 2002 that I guess I never submitted. Here it > is, adapted for the current sources; default.exp runs on AIX with this > patch. > > (Your solution seems simpler.) The comment was slightly misleading. In your patch, you did essentially the same as what I did (avoid using gdb_test), except that I didn't break the expected output into several chunks as you did. I am guessing it was to be able to isolate the line containing the GDB prompt, but maybe that was because you wanted this test to be powerful enough to match the lines the test is looking for in any order? In any case, I think Daniel found the real problem. > Sun Feb 3 19:52:31 2002 Jim Blandy > > * gdb.base/default.exp: Distinguish the GDB prompt as it appears > in "info set" and "show" output from the true prompt. -- Joel