From patchwork Thu Mar 16 17:59:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 19618 Received: (qmail 36844 invoked by alias); 16 Mar 2017 17:59:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 36749 invoked by uid 89); 16 Mar 2017 17:59:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:001a113, H*MI:google, H*M:google X-HELO: mail-ot0-f202.google.com Received: from mail-ot0-f202.google.com (HELO mail-ot0-f202.google.com) (74.125.82.202) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Mar 2017 17:59:25 +0000 Received: by mail-ot0-f202.google.com with SMTP id o24so3177757otb.4 for ; Thu, 16 Mar 2017 10:59:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to; bh=Dn8PPjZRvrOBSEk4RoEMyWgYQ3bTnQ3WJTgtSVZZ3ic=; b=JDppx6E817iDsY6jcsboOAt58ubuIQXkVgdWN9J7bsvqMCmF3ObPV7kPzgkngAK722 O/bvYw0NBDVMMd6Ios3kHbN/TKxybZANzy9jUSPrPe6mtFRxL6+PZttF7OkNOUWIdXsT XuIFku1k1CIy0rlzqL/PEJ2+1rbTNalwj3tSVasQQGyQXrvolBFSL5KnOAWWO9Rp6sEi 4LVYU7lVtej3j8pCP5VyMpAnCVlXcKa+Z3BUU3gy5A9oigyHkzx0g+tNH3I71lJFTLap nyF4xzSAztW4aVlxpO1prVrK6xi/b35zHGtffcSJCzn17sfZvpx8VenmRA9w+N/cRhmk EsNA== X-Gm-Message-State: AFeK/H2Qj7edND0XE1v9FuzV8qGIu+o4jmcip8C/TeA0RXykEm7w75D6NtDP+cwNIyfjbeJ3f9rPE6JcHazjcXcDcWpdo3hi5pu9eqJcY4tzfhMZNsrcBTIFQJywyl2uqVfd+RgHWRPJEGFi60SgJPYSxSX52qVVzVjbGFBWJ7O4UyXe7c7fKQ== MIME-Version: 1.0 X-Received: by 10.157.45.11 with SMTP id v11mr4774235ota.105.1489687164336; Thu, 16 Mar 2017 10:59:24 -0700 (PDT) Message-ID: <001a113cf8ee4206ce054adcd2cd@google.com> Date: Thu, 16 Mar 2017 17:59:24 +0000 Subject: [OB PATCH] gdb.python/py-lazy-string (pointer): Really add new typedef. X-Patchwork-Original-From: "Doug Evans via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Doug Evans To: gdb-patches@sourceware.org X-IsSubscribed: yes Somehow this line got dropped. Verified py-lazy-string.exp passes. Committed. commit 6ebac3fbacebaebd9e2c9393da3b612342d953a9 Author: Doug Evans Date: Thu Mar 16 10:43:21 2017 -0700 gdb.python/py-lazy-string (pointer): Really add new typedef. Somehow got dropped in earlier commit. gdb/testsuite/ChangeLog: * gdb.python/py-lazy-string (pointer): Really add new typedef. { diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index aa07cb05ff..8a3096fe61 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-16 Doug Evans + + * gdb.python/py-lazy-string (pointer): Really add new typedef. + 2017-03-16 Thomas Preud'homme * gdb.cp/m-static.exp: Fix expectation for prototype of diff --git a/gdb/testsuite/gdb.python/py-lazy-string.c b/gdb/testsuite/gdb.python/py-lazy-string.c index 41011ce99c..8d90d6d026 100644 --- a/gdb/testsuite/gdb.python/py-lazy-string.c +++ b/gdb/testsuite/gdb.python/py-lazy-string.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +typedef const char* pointer; + int main ()