From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77798 invoked by alias); 22 Jan 2020 16:32:25 -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 77782 invoked by uid 89); 22 Jan 2020 16:32:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,FSL_HELO_FAKE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Languages-Length:972 X-HELO: mail-lj1-f173.google.com Received: from mail-lj1-f173.google.com (HELO mail-lj1-f173.google.com) (209.85.208.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jan 2020 16:32:23 +0000 Received: by mail-lj1-f173.google.com with SMTP id j1so7550825lja.2 for ; Wed, 22 Jan 2020 08:32:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-description:content-disposition:in-reply-to; bh=VLpu/ipSS45qgCZ3Lvm/qlcfUZHWsXpCb2OZWL+utlE=; b=HXYEBT3ZULGHLVVH8Btl8Q8I9iWh3RHgUK0zA3OL8yZz4XQ2LXNiasWNpHrBHB20r5 DdDOqNDb1WhVaB840VYYgyA5NQmSmdEEUHBSAvVgNool1hp1fjmQ+tliUvRDH0Pr6+q1 nf52FpMZQ/kD6s5RozPWjswt5iPsOWK6bUZWbVjIA2P9h5mk73JyFSqyxahAhkBmi+0M EQXLC5OP03V2SvUWs0sAmg6mRBgZ70/QabXwYVqc/5LJ5sSBn5IamAaxIAtO8OIFYyqz bdd6VuNVcaufPbPm4wZEna6W0vVpPc1pKD8OqVjGc/RYkhVPcjlk1nUxjUgDZdp5Yu9h x8ew== Return-Path: Received: from gmail.com ([2a03:1b20:6:f011::2d]) by smtp.gmail.com with ESMTPSA id s9sm23993707ljh.90.2020.01.22.08.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 08:32:20 -0800 (PST) Date: Wed, 22 Jan 2020 16:42:00 -0000 From: Shahab Vahedi To: Andrew Burgess Cc: gdb-patches@sourceware.org, Shahab Vahedi , Tom Tromey , Claudiu Zissulescu , Francois Bedard Subject: Re: [PATCH] gdb: Catch exceptions if the source file is not found Message-ID: <20200122163217.GA3311@gmail.com> References: <20200122140818.84308-1-shahab.vahedi@gmail.com> <20200122154901.GK3865@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: test Content-Disposition: inline In-Reply-To: <20200122154901.GK3865@embecosm.com> X-SW-Source: 2020-01/txt/msg00681.txt.bz2 On Wed, Jan 22, 2020 at 03:49:01PM +0000, Andrew Burgess wrote: > > Would it be possible to create a version of this test (or similar) > within gdb.tui/ so this fix would be protected in the future? > This is reproducible on an x86_64 host/target as well. These are the necessary step that I have to automate by a test: $ cat > file1.c < file2.c <