From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43217 invoked by alias); 8 Jun 2015 13:43:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 43110 invoked by uid 89); 8 Jun 2015 13:43:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f51.google.com Received: from mail-oi0-f51.google.com (HELO mail-oi0-f51.google.com) (209.85.218.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 08 Jun 2015 13:43:31 +0000 Received: by oihb142 with SMTP id b142so93194519oih.3 for ; Mon, 08 Jun 2015 06:43:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.202.60.69 with SMTP id j66mr1147547oia.58.1433771009197; Mon, 08 Jun 2015 06:43:29 -0700 (PDT) Received: by 10.76.115.167 with HTTP; Mon, 8 Jun 2015 06:43:29 -0700 (PDT) In-Reply-To: <20150608133724.GA23793@host1.jankratochvil.net> References: <20150309214314.GA2650@host1.jankratochvil.net> <20150603132659.GA6778@host1.jankratochvil.net> <20150608133724.GA23793@host1.jankratochvil.net> Date: Mon, 08 Jun 2015 13:48:00 -0000 Message-ID: Subject: Re: [commit#2] [patch#2] PR other/65366: Fix gdbhooks.py for GDB with Python3 From: Richard Biener To: Jan Kratochvil Cc: GCC Patches , Phil Muldoon , Jason Merrill Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00570.txt.bz2 On Mon, Jun 8, 2015 at 3:37 PM, Jan Kratochvil wrote: > On Mon, 08 Jun 2015 09:46:59 +0200, Richard Biener wrote: >> adding a >> >> import sys >> >> makes it work fine though. > > I do not see the sys error with either FSF GDB HEAD or Fedora 22 GDB. > I agree it probably should be there. Yeah, I suspect you have other auto-loads that eventually import sys (I suppose the different python modules are not isolated) > >> Thus, ok with also adding a imoprt sys. > > Done and checked in: r224223 Thanks. > > Jan