Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] [PR python/18938] source -s foo.py with foo.py a symlink to foo.notpy fails
Date: Tue, 27 Oct 2015 03:27:00 -0000	[thread overview]
Message-ID: <CADPb22R_VBpJknOujRUMJJBNbOHyZajvM9Cc11mLT4hWbVMyuA@mail.gmail.com> (raw)
In-Reply-To: <CADPb22Scg0tzct9TgSiyMOQZn6OzwwwEabM7mdQ7gPuzyOzyvQ@mail.gmail.com>

On Tue, Sep 8, 2015 at 2:37 PM, Doug Evans <dje@google.com> wrote:
> On Tue, Sep 8, 2015 at 2:34 PM, Doug Evans <dje@google.com> 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  <dje@google.com>
>>
>>         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.


      reply	other threads:[~2015-10-26 21:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 21:34 Doug Evans
2015-09-08 21:38 ` Doug Evans
2015-10-27  3:27   ` Doug Evans [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADPb22R_VBpJknOujRUMJJBNbOHyZajvM9Cc11mLT4hWbVMyuA@mail.gmail.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox