Show whether DEBUG is on in ghc --info
authorIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 18:44:15 +0000 (18:44 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 6 Jun 2008 18:44:15 +0000 (18:44 +0000)
compiler/main/DynFlags.hs

index dbf5ff9..621d6b9 100644 (file)
@@ -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)
+               ]