public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/18938] New: source -s foo.py with foo.py a symlink to foo.notpy fails
@ 2015-09-08 21:19 dje at google dot com
  2015-09-08 21:22 ` [Bug python/18938] " dje at google dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2015-09-08 21:19 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18938

            Bug ID: 18938
           Summary: source -s foo.py with foo.py a symlink to foo.notpy
                    fails
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com
  Target Milestone: ---

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.

patch + testcase to follow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-26 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 21:19 [Bug python/18938] New: source -s foo.py with foo.py a symlink to foo.notpy fails dje at google dot com
2015-09-08 21:22 ` [Bug python/18938] " dje at google dot com
2015-09-08 21:26 ` dje at google dot com
2015-10-26 21:35 ` cvs-commit at gcc dot gnu.org
2015-10-26 22:24 ` dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).