This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [PR python/18938] source -s foo.py with foo.py a symlink to foo.notpy fails


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. :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]