From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81914 invoked by alias); 5 Sep 2019 12:20:02 -0000 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 Received: (qmail 81898 invoked by uid 89); 5 Sep 2019 12:20:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*M:9eff X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Sep 2019 12:20:01 +0000 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B375281F22 for ; Thu, 5 Sep 2019 12:19:58 +0000 (UTC) Received: by mail-wm1-f71.google.com with SMTP id f63so876743wma.7 for ; Thu, 05 Sep 2019 05:19:58 -0700 (PDT) Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id b136sm2905485wme.18.2019.09.05.05.19.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Sep 2019 05:19:56 -0700 (PDT) Subject: Re: [PATCH][gdb/testsuite] Restore breakpoint command in ui-redirect.exp To: Tom de Vries , Jan Kratochvil References: <3150ecd9-9221-4360-6a16-563b3c5ef1ab@suse.de> <20190904114855.GA13625@host1.jankratochvil.net> <506eb7aa-4385-e2a2-736f-0c1adb251d61@suse.de> Cc: "gdb-patches@sourceware.org" , Alan Hayward , Andrew Burgess From: Pedro Alves Message-ID: <9e85b162-5b21-9eff-eebb-b51b60194599@redhat.com> Date: Thu, 05 Sep 2019 12:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <506eb7aa-4385-e2a2-736f-0c1adb251d61@suse.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-09/txt/msg00053.txt.bz2 On 9/5/19 8:34 AM, Tom de Vries wrote: > +set cmds \ > + [list \ > + "break main" \ > + " commands" \ > + " print 1" \ > + " end" \ > + "break foo" \ > + "break bar"] > +set cmds [join $cmds "\n"] Use multi_line_input ? > +# Compare contents of FILE to string STR. Pass with MSG if equal, otherwise > +# fail with MSG. Double space after period. Thanks, Pedro Alves