From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37878 invoked by alias); 26 Oct 2015 21:35:55 -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 37867 invoked by uid 89); 26 Oct 2015 21:35:55 -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,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f169.google.com Received: from mail-ig0-f169.google.com (HELO mail-ig0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 26 Oct 2015 21:35:54 +0000 Received: by igbkq10 with SMTP id kq10so82690564igb.0 for ; Mon, 26 Oct 2015 14:35:52 -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=2VCfMPbMr7w+05Pofh+0UC0QSFoK9dftjCwQqxhLhcc=; b=HttQ9GpEyZpO+XKPJEkRYwie3j28qhgdB/dDZODwVmHOZeVYtm9QOgCk8wjO7Rq6eO DwPOORO2JAZQGtycrEaqU1YBEkrKCXtWYd2/t4YXMQyYSiDJRA1/h5E6+fdkXu+923Ul cmZXjcowqT0oxp1iGDDg72SK1GQYXKy2WdbNm3JfII2tuy+fphB1EWBUtvekFe3bYFQ0 HzrYnWG09iPn120aWiOfNtNRFS0bUu2ROqR9Kkd52JVYTdIElmLwZ3iU9vbnA9x1BT0h rTN70cD/+O1pEvxE1xxMSRPUHZqw6ZDL0pACy4wj4g/jy61Ybr+g/brJtAnJbwxJmtu3 X03w== X-Gm-Message-State: ALoCoQkYCqLlzwrkK/NiDkVzy3qPQ5KEJeqKdbOtNj4Z1XuiZBKJrFtfYnsf/ZL1jhGZteyAQBdu X-Received: by 10.50.65.101 with SMTP id w5mr22120865igs.3.1445895352332; Mon, 26 Oct 2015 14:35:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.134.131 with HTTP; Mon, 26 Oct 2015 14:35:12 -0700 (PDT) In-Reply-To: References: <001a1136b5ce89b092051f432146@google.com> From: Doug Evans Date: Tue, 27 Oct 2015 03:27: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-10/txt/msg00585.txt.bz2 On Tue, Sep 8, 2015 at 2:37 PM, Doug Evans wrote: > 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. :-) Committed.