From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68149 invoked by alias); 13 Oct 2016 13:53:07 -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 68138 invoked by uid 89); 13 Oct 2016 13:53:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f176.google.com Received: from mail-pf0-f176.google.com (HELO mail-pf0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Oct 2016 13:52:56 +0000 Received: by mail-pf0-f176.google.com with SMTP id s8so35512937pfj.2 for ; Thu, 13 Oct 2016 06:52:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Vdzi3I/bOd0IpWVzuuC/mBf3A4LtV8vy28Vq4eKcCUQ=; b=bjbURs7IrQlN/5GQYvG6R6vP/w5vExZt2UfYvlTMHEey6uGNhxDNVd9Fgpc5l+tEjZ 9WBYznSojoL5faaZiuxYv66KGyyb1lJOtaMnqEdSaieRNv4Qo+rttmedRES6hja44kgY NtNl9qTSQngLMB3J/rPhaPEy5ZtBekHCb4Ts0KSIqwfmxuVi5JYRUu1PsgUqqTI1fjxV eFfSDiKnXCTkfa4KxBk2ODVTnZ8R9ErlO90GoUaWNX5SxfQ8NQeIFRsOxFw9G37b7p40 RlDCQsXWjygTPXy+uu6r0em9ynh4kD4oUaJv8FTvVUPfI3urIbXWO1yAL7pZRdrAxNyN Z1CA== X-Gm-Message-State: AA6/9Rns6kCVRTWnAG53mAaY21m30SpBh3DMvE4pdgU2jqAsRPpINbWWKJFfcjm4T8GPCA== X-Received: by 10.99.129.65 with SMTP id t62mr8580761pgd.114.1476366775039; Thu, 13 Oct 2016 06:52:55 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id c62sm20032722pfe.42.2016.10.13.06.52.53 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 13 Oct 2016 06:52:54 -0700 (PDT) From: Yao Qi To: Bernhard Heckel Cc: qiyaoltc@gmail.com, brobecker@adacore.com, gdb-patches@sourceware.org Subject: Re: [PATCH V4 4/6] Fortran: Typeprint, fix dangling types. References: <1473230295-809-1-git-send-email-bernhard.heckel@intel.com> <1473230295-809-5-git-send-email-bernhard.heckel@intel.com> Date: Thu, 13 Oct 2016 13:53:00 -0000 In-Reply-To: <1473230295-809-5-git-send-email-bernhard.heckel@intel.com> (Bernhard Heckel's message of "Wed, 7 Sep 2016 08:38:13 +0200") Message-ID: <86oa2o8ifi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00360.txt.bz2 Bernhard Heckel writes: > +set test "ptype intap, not associated" > +gdb_test_multiple "ptype intap" $test { > + -re "type =3D PTR TO -> \\( $int \\(:,:\\)\\)\r\n$gdb_prompt $" { > + pass $test > + } > + -re "type =3D $int \\(:,:\\)\r\n$gdb_prompt $" { How does GDB print like this? I think GDB should always print "type =3D PTR TO -> ....", no? > + pass $test > + } > +} --=20 Yao (=E9=BD=90=E5=B0=A7)