[project @ 2004-09-03 15:28:18 by simonmar]
authorsimonmar <unknown>
Fri, 3 Sep 2004 15:28:59 +0000 (15:28 +0000)
committersimonmar <unknown>
Fri, 3 Sep 2004 15:28:59 +0000 (15:28 +0000)
commit95ca6bff6fc9918203173b442192d9298ef9757a
tree6aa809e688117710e8690201d6fb46b3aec0577d
parentaa07427aca52bcf2d76b8967aa27fe23fc8803bc
[project @ 2004-09-03 15:28:18 by simonmar]
Cleanup: all (well, most) messages from the RTS now go through the
functions in RtsUtils: barf(), debugBelch() and errorBelch().  The
latter two were previously called belch() and prog_belch()
respectively.  See the comments for the right usage of these message
functions.

One reason for doing this is so that we can avoid spurious uses of
stdout/stderr by Haskell apps on platforms where we shouldn't be using
them (eg. non-console apps on Windows).
38 files changed:
ghc/rts/Adjustor.c
ghc/rts/BlockAlloc.c
ghc/rts/Disassembler.c
ghc/rts/FrontPanel.c
ghc/rts/GC.c
ghc/rts/GCCompact.c
ghc/rts/Interpreter.c
ghc/rts/Itimer.c
ghc/rts/Linker.c
ghc/rts/MBlock.c
ghc/rts/Main.c
ghc/rts/OSThreads.c
ghc/rts/OSThreads.h
ghc/rts/Printer.c
ghc/rts/ProfHeap.c
ghc/rts/Profiling.c
ghc/rts/Profiling.h
ghc/rts/Proftimer.c
ghc/rts/RetainerProfile.c
ghc/rts/RetainerSet.c
ghc/rts/RetainerSet.h
ghc/rts/RtsAPI.c
ghc/rts/RtsFlags.c
ghc/rts/RtsStartup.c
ghc/rts/RtsUtils.c
ghc/rts/RtsUtils.h
ghc/rts/Sanity.c
ghc/rts/Schedule.c
ghc/rts/Schedule.h
ghc/rts/Select.c
ghc/rts/Signals.c
ghc/rts/Sparks.c
ghc/rts/Stable.c
ghc/rts/Stats.c
ghc/rts/StgCRun.c
ghc/rts/Storage.c
ghc/rts/Task.c
ghc/rts/Weak.c