summaryrefslogtreecommitdiff
path: root/compiler/GHC/Runtime/Debugger.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Runtime/Debugger.hs')
-rw-r--r--compiler/GHC/Runtime/Debugger.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Runtime/Debugger.hs b/compiler/GHC/Runtime/Debugger.hs
index 59fd31dc5b..a89227aada 100644
--- a/compiler/GHC/Runtime/Debugger.hs
+++ b/compiler/GHC/Runtime/Debugger.hs
@@ -97,8 +97,8 @@ pprintClosureCommand bindThings force str = do
printSDocs :: GhcMonad m => [SDoc] -> m ()
printSDocs sdocs = do
logger <- getLogger
- unqual <- GHC.getPrintUnqual
- liftIO $ printOutputForUser logger unqual $ vcat sdocs
+ name_ppr_ctx <- GHC.getNamePprCtx
+ liftIO $ printOutputForUser logger name_ppr_ctx $ vcat sdocs
-- Do the obtainTerm--bindSuspensions-computeSubstitution dance
go :: GhcMonad m => Subst -> Id -> m (Subst, Term)