[{"id":1762115,"web_url":"http://patchwork.ozlabs.org/comment/1762115/","msgid":"<97BFB5B0-B9A5-4B29-9F76-2DB6152E0643@gmail.com>","list_archive_url":null,"date":"2017-09-02T12:37:29","subject":"Re: [PATCH] Fix gdbhooks.py","submitter":{"id":1765,"url":"http://patchwork.ozlabs.org/api/people/1765/","name":"Richard Biener","email":"richard.guenther@gmail.com"},"content":"On September 1, 2017 10:36:05 PM GMT+02:00, Jakub Jelinek <jakub@redhat.com> wrote:\n>Hi!\n>\n>I'm seeing on the trunk errors like:\n>Traceback (most recent call last):\n>  File \"<string>\", line 1, in <module>\n>  File \"../../gcc/gdbhooks.py\", line 441\n>    if name == 'E_VOIDmode':\n>                           ^\n>TabError: inconsistent use of tabs and spaces in indentation\n>.gdbinit:14: Error in sourced command file:\n>Error while executing Python code.\n>\n>(with gdb 7.12.1).\n>\n>The following patch fixes that, bootstrapped/regtested on x86_64-linux\n>and\n>i686-linux, ok for trunk?\n\nOK. \n\nRichard. \n\n>2017-09-01  Jakub Jelinek  <jakub@redhat.com>\n>\n>\t* gdbhooks.py (OptMachineModePrinter.to_string): Use 8 spaces\n>\tinstead of tab.\n>\n>--- gcc/gdbhooks.py.jj\t2017-09-01 09:26:27.000000000 +0200\n>+++ gcc/gdbhooks.py\t2017-09-01 20:04:04.135133016 +0200\n>@@ -438,8 +438,8 @@ class OptMachineModePrinter:\n> \n>     def to_string (self):\n>         name = str(self.gdbval['m_mode'])\n>-\tif name == 'E_VOIDmode':\n>-\t    return '<None>'\n>+        if name == 'E_VOIDmode':\n>+            return '<None>'\n>         return name[2:] if name.startswith('E_') else name\n> \n> ######################################################################\n>\n>\n>\tJakub","headers":{"Return-Path":"<gcc-patches-return-461341-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461341-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"UOlyAczQ\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkwcb5Kjxz9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 22:37:50 +1000 (AEST)","(qmail 35305 invoked by alias); 2 Sep 2017 12:37:42 -0000","(qmail 35293 invoked by uid 89); 2 Sep 2017 12:37:41 -0000","from mail-wm0-f42.google.com (HELO mail-wm0-f42.google.com)\n\t(74.125.82.42) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tSat, 02 Sep 2017 12:37:36 +0000","by mail-wm0-f42.google.com with SMTP id 137so5722331wmj.1 for\n\t<gcc-patches@gcc.gnu.org>; Sat, 02 Sep 2017 05:37:35 -0700 (PDT)","from android-f83b394395796e13.fritz.box\n\t(p5494E583.dip0.t-ipconnect.de. [84.148.229.131]) by\n\tsmtp.gmail.com with ESMTPSA id\n\ta7sm1130031edl.96.2017.09.02.05.37.32 (version=TLS1_2\n\tcipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 05:37:32 -0700 (PDT)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:cc:from:message-id; q=dns;\n\ts=default; b=rJZEwbPFLSMZLpmXmT0afkgW+RR61KzXu4zdCNMcIYMIO4+bxs\n\tY9SSSUKDCXuI9BMNWg3CGuMJxoTHYWY+H2KpZ0ZXdCO7yvr1qGf1bLD30HS2k0JY\n\tQgxT5GNBxkZodPFcsq7JNOdV9eq88IXiqfOAw2B9ryVwagWtSXM3y4Drk=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:in-reply-to:references:mime-version:content-type\n\t:content-transfer-encoding:subject:to:cc:from:message-id; s=\n\tdefault; bh=OUoc9ic+XgS3NT35DuDXtVW9mlI=; b=UOlyAczQyX4Ce9p4xXvw\n\tggwYHO6I40fOJTf1fWwPtBB5YLCJipIBd2erkWhXAj7zhlWKG9cVRyEhLV1lGg2H\n\tegNYP1SjJjhsHV8NXy/6rAXV9pHZNOPdqW4jTzfK9RmORMFIWT0RtS6YrCd5Bnpc\n\tAAM7pkbUY2oNeUgQxeAQO10=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-10.8 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-wm0-f42.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:date:user-agent:in-reply-to:references\n\t:mime-version:content-transfer-encoding:subject:to:cc:from\n\t:message-id; bh=xVaVsqP4kHskxG1rS/AyNXKF3Er83L6kzLwTWLOvFfs=;\n\tb=RN+A+pPqWtAe8tw/ob9Ofbv8zXRjHhtqJXNfo7Q6nleEhlJiAQWAbFFDZE8n+bwhIN\n\t+NXELCGe0vuyXyIgsxz6JY4lq2hkS247Vajf0giBu+AE/l5cpAr4X9mLFLnDWFIsOey1\n\tu+fqUCoJsZjcljsrDtdIvr9qPWlzfNB9B1a/OfcPssf9bs+tofnTrx1qXflKxT3LILSO\n\ttR7kf+hTZWfku28TTryggZkEGL4wLnWdEhkeJWnHRwqPdcH6FAW/Fm8OgokcnUJCX6ZV\n\tBqUd+4BbiZac/bPX1urm1C9VrD2Zk1norMO5yfnXaRgCVxWosdw2GzN2Zd6X0hzMZQ1k\n\tpJ7g==","X-Gm-Message-State":"AHPjjUh+9ivzpbUOAcwb0i0RstB13xaVxnLuc5Q+v2QgGAM2lOqP9vnn\tm/+CC6hEBe90bQ==","X-Google-Smtp-Source":"ADKCNb7I1vMWn+I2e2E4Gy3eibwbH94praKQz4CGD/nn21H7fbyPjiowOSfbfcJouDe3ik5dzrIytQ==","X-Received":"by 10.80.181.124 with SMTP id z57mr4143551edd.24.1504355854124;\n\tSat, 02 Sep 2017 05:37:34 -0700 (PDT)","Date":"Sat, 02 Sep 2017 14:37:29 +0200","User-Agent":"K-9 Mail for Android","In-Reply-To":"<20170901203605.GT2323@tucnak>","References":"<20170901203605.GT2323@tucnak>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable","Subject":"Re: [PATCH] Fix gdbhooks.py","To":"Jakub Jelinek <jakub@redhat.com>, David Malcolm <dmalcolm@redhat.com>,\n\tRichard Sandiford <richard.sandiford@linaro.org>","CC":"gcc-patches@gcc.gnu.org","From":"Richard Biener <richard.guenther@gmail.com>","Message-ID":"<97BFB5B0-B9A5-4B29-9F76-2DB6152E0643@gmail.com>","X-IsSubscribed":"yes"}}]