From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29350 invoked by alias); 8 Sep 2015 21:38:21 -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 29340 invoked by uid 89); 8 Sep 2015 21:38:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-io0-f181.google.com Received: from mail-io0-f181.google.com (HELO mail-io0-f181.google.com) (209.85.223.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 08 Sep 2015 21:38:20 +0000 Received: by ioii196 with SMTP id i196so421922ioi.3 for ; Tue, 08 Sep 2015 14:38:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=QNXAMsfJujsgh672YwF3tPj8htlRrsxwaNC/Rr0S724=; b=gh20G/guPvuzgaQzfu9CYEnMAREK+LVzUSCwoiuas1agV2W4DYX+nJ14OUZJMX6CGe k76PgMDlYlkfm4BnltgVkNmtKbyiey3PvxfngPN5rULB+012mmXRefafxanwy5nNFJPE TngYgP3BHyyJlQ1TZcA1QmQIaICuI1WgEZxTUVowzzNksfDd/HmTgNXpV8yxrO9nzenj y3c0fImn8eEwiC1azmux/UwjbX5JMZsLCcUDTR0l8nSWA/FzT99xbVa/OUWa+OuxPW1P 6ivHVg7mTPRSgBWAyybygtelxKiPNkF9TLCKWqpdZwZ7OcBfpRgeKXHz8e5PSjgy+9jd P2xw== X-Gm-Message-State: ALoCoQk5jDoTQMBsXG/vuInoV6Ebn6aYfhIZFQlMp9l7sDH3oqGQSinjNE9QQTqWH0+TjYV8IRXA X-Received: by 10.107.150.3 with SMTP id y3mr44239585iod.32.1441748297994; Tue, 08 Sep 2015 14:38:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.19.130 with HTTP; Tue, 8 Sep 2015 14:37:38 -0700 (PDT) In-Reply-To: <001a1136b5ce89b092051f432146@google.com> References: <001a1136b5ce89b092051f432146@google.com> From: Doug Evans Date: Tue, 08 Sep 2015 21:38:00 -0000 Message-ID: Subject: Re: [PATCH] [PR python/18938] source -s foo.py with foo.py a symlink to foo.notpy fails To: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00101.txt.bz2 On Tue, Sep 8, 2015 at 2:34 PM, Doug Evans wrote: > > Hi. > > This patch fixes 18938. > > If one has foo.py as a symlink to foo.notpy, then "source -s foo.py" > will fail because gdb will try to interpret the extension language > from the realpath'd form of the file. > > 2015-09-08 Doug Evans > > PR python/18938 > * cli/cli-cmds (source_script_fron_sctream): New arg file_to_open. > All callers updated. btw, missing c/l entry for python.exp already fixed in my sandbox. :-)