[PATCH] [PR python/18938] source -s foo.py with foo.py a symlink to foo.notpy fails
Doug Evans
dje@google.com
Tue Sep 8 21:38:00 GMT 2015
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. :-)
More information about the Gdb-patches
mailing list