From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24524 invoked by alias); 26 Oct 2011 05:37:17 -0000 Received: (qmail 24362 invoked by uid 22791); 26 Oct 2011 05:37:15 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Oct 2011 05:36:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9B42C2BB111; Wed, 26 Oct 2011 01:36:58 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WytF0xWAY6c3; Wed, 26 Oct 2011 01:36:58 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6F33C2BB0E2; Wed, 26 Oct 2011 01:36:58 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 7D3FB145615; Wed, 26 Oct 2011 01:36:56 -0400 (EDT) Date: Wed, 26 Oct 2011 08:10:00 -0000 From: Joel Brobecker To: Stan Shebs Cc: gdb-patches@sourceware.org Subject: Re: Status of 'blacklist' patch? Message-ID: <20111026053656.GS19246@adacore.com> References: <83ipnjs9i1.fsf@gnu.org> <83ipndc92n.fsf@gnu.org> <83ehy0ded8.fsf@gnu.org> <4EA753C4.60408@mentor.com> <4EA78237.5090305@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EA78237.5090305@earthlink.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00692.txt.bz2 > You need a gdb_expect after the send_gdb, otherwise the output from > the step leaks into the next gdb_test and things get confused in the > way you're seeing. I would use gdb_test for the "step" also, it's > much simpler; send_gdb is only needed for unusual testing > situations, and this is not one of them. :-) Actually, I am going to say something a little stronger: you must NOT use send_gdb/gdb_expect unless you have a good reason to do so. I know that many old test still use them, but I guess we didn't know better at the time... -- Joel