From aca3dd74dac482e77e34058c4003df5387487aaa Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 6 Jun 2008 18:44:15 +0000 Subject: [PATCH] Show whether DEBUG is on in ghc --info --- compiler/main/DynFlags.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index dbf5ff9..621d6b9 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1863,5 +1863,7 @@ compilerInfo = [("Project name", cProjectName), ("Tables next to code", cGhcEnableTablesNextToCode), ("Win32 DLLs", cEnableWin32DLLs), ("RTS ways", cGhcRTSWays), - ("Leading underscore", cLeadingUnderscore)] + ("Leading underscore", cLeadingUnderscore), + ("Debug on", show debugIsOn) + ] -- 1.7.10.4