summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDebugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r--lldb/source/API/SBDebugger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 6901fa2632b..430700d1896 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -193,7 +193,7 @@ FILE *
SBDebugger::GetInputFileHandle ()
{
if (m_opaque_sp)
- return m_opaque_sp->GetInputFileHandle();
+ return m_opaque_sp->GetInputFile().GetStream();
return NULL;
}
@@ -201,7 +201,7 @@ FILE *
SBDebugger::GetOutputFileHandle ()
{
if (m_opaque_sp)
- return m_opaque_sp->GetOutputFileHandle();
+ return m_opaque_sp->GetOutputFile().GetStream();
return NULL;
}
@@ -209,7 +209,7 @@ FILE *
SBDebugger::GetErrorFileHandle ()
{
if (m_opaque_sp)
- return m_opaque_sp->GetErrorFileHandle();
+ return m_opaque_sp->GetErrorFile().GetStream();
return NULL;
}
OpenPOWER on IntegriCloud