PR python/18938: source -s foo.py with foo.py a symlink to foo.notpy fails
authorDoug Evans <dje@google.com>
Mon, 26 Oct 2015 21:33:19 +0000 (14:33 -0700)
committerDoug Evans <dje@google.com>
Mon, 26 Oct 2015 21:33:19 +0000 (14:33 -0700)
commit1a70ae976b673f7762f14734785b34fc5ba92eae
treea534938a791fec38364ed434f09d2833b07ff714
parent372405a5e8adbe5affce56410b6d6048c63cac3f
PR python/18938: source -s foo.py with foo.py a symlink to foo.notpy fails

gdb/ChangeLog:

PR python/18938
* cli/cli-cmds (source_script_fron_sctream): New arg file_to_open.
All callers updated.

gdb/testsuite/ChangeLog:

* gdb.python/python.exp: Add test for symlink from .py file to .notpy
file.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp