From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28338 invoked by alias); 9 Sep 2004 14:34:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28303 invoked from network); 9 Sep 2004 14:34:23 -0000 Received: from unknown (HELO mclean.mail.mindspring.net) (207.69.200.57) by sourceware.org with SMTP; 9 Sep 2004 14:34:23 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1C5Q0B-00089G-00; Thu, 09 Sep 2004 10:34:19 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 7F3274B102; Thu, 9 Sep 2004 10:34:33 -0400 (EDT) Date: Thu, 09 Sep 2004 14:34:00 -0000 From: Michael Chastain To: jmolenda@apple.com, gdb-patches@sources.redhat.com Subject: Re: RFA: if/while commands in user-defined command behave differently Cc: cagney@gnu.org Message-ID: <414069F8.nailE691CTVHR@mindspring.com> References: <76449857-01CD-11D9-9838-000A9569836A@apple.com> In-Reply-To: <76449857-01CD-11D9-9838-000A9569836A@apple.com> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00144.txt.bz2 send_gdb / gdb_expect are old; can you can upgrade this to the modern interface, gdb_test_multiple? With gdb_test_multiple you don't need the default "$gdb_prompt $" and timeout clauses. The idea is good; it just needs gdb_test_multiple. Just do that and re-test and re-submit. Michael === [gdb/testsuite/ChangeLog] 2004-09-08 Jason Molenda (jmolenda@apple.com) * gdb.base/define.exp: Two new tests to verify zero space chars after 'if' and 'while' commands in a user-defined command is correctly parsed.