aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Debugger
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Debugger')
-rw-r--r--lib/Debugger/ProgramInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp
index a702829..144cfeb 100644
--- a/lib/Debugger/ProgramInfo.cpp
+++ b/lib/Debugger/ProgramInfo.cpp
@@ -174,7 +174,7 @@ SourceFile &SourceFileInfo::getSourceText() const {
if (!Directory.empty())
tmpPath.setDirectory(Directory);
tmpPath.appendFile(BaseName);
- if (tmpPath.readable())
+ if (tmpPath.canRead())
SourceText = new SourceFile(tmpPath.toString(), Descriptor);
else
SourceText = new SourceFile(BaseName, Descriptor);