1. 27 Apr, 2005 14 commits
  2. 26 Apr, 2005 5 commits
    • simonmar's avatar
      [project @ 2005-04-26 15:44:48 by simonmar] · 68ded3ed
      simonmar authored
      resetStaticObjectForRetainerProfiling: catch up changes in ClosureMacros.h
      68ded3ed
    • simonmar's avatar
      [project @ 2005-04-26 15:08:16 by simonmar] · f6aa7ddc
      simonmar authored
      When chasing explicit imports, we now look for the module in both the
      home package and external packages, and complain if it is found in
      both:
      
      Chasing modules from: Overlap
      Cannot import `List':
        it was found in both overlap/List.hs and package haskell98-1.0.
        Possible fix: -ignore-package haskell98-1.0
        (imported from overlap/Overlap.hs)
      
      Previously the home module would have been ignored in favour of the
      package module.  It means we're doing a bit more searching, but the
      behaviour is less obscure.
      f6aa7ddc
    • simonmar's avatar
      [project @ 2005-04-26 14:43:31 by simonmar] · ff75ee77
      simonmar authored
      Back out previous revision.
      
      It appears that passing -g to the assembly phase of C compilation
      results in an object file with broken debug info, that gdb can't
      read.  This is probably a bug in gcc and/or binutils, but this change
      means that I can't avoid it (unless we were to hack the pipeline to
      do .c->.s->.o in one stage instead of two).
      ff75ee77
    • simonmar's avatar
      [project @ 2005-04-26 12:00:48 by simonmar] · 23951581
      simonmar authored
      Add entry about non-blocking stdin and System.Cmd.{system,rawSystem}.
      23951581
    • sof's avatar
      [project @ 2005-04-26 00:08:17 by sof] · 136861d1
      sof authored
      runSomething: 'rawSystem' might raise an exception to indicate that
      'pgm' couldn't be executed, so catch this here & report.
      
      Merge to STABLE.
      136861d1
  3. 25 Apr, 2005 8 commits
    • simonmar's avatar
      [project @ 2005-04-25 15:56:19 by simonmar] · 17118d27
      simonmar authored
      scavenge_one: fix reversed PAP/AP cases
      17118d27
    • simonmar's avatar
      [project @ 2005-04-25 15:36:28 by simonmar] · b050008e
      simonmar authored
      Partial support for deadlock detection in the threaded/SMP RTS.
      
      The idea is to wait until a complete time slice has gone by without
      running any Haskell code, and then try doing a GC to detect deadlocked
      threads.
      
      This kind of works: but we can only wake up a worker thread from the
      signal handler if there's another worker running - we can't wake up the
      current thread, it seems.
      b050008e
    • simonmar's avatar
      [project @ 2005-04-25 14:22:29 by simonmar] · 8974a27f
      simonmar authored
      interruptStgRts: call threadRunnable().  This might not work properly
      from a signal handler, but it's all we can do (and seems to do
      something reasonable on Linux).
      8974a27f
    • simonmar's avatar
      [project @ 2005-04-25 14:13:23 by simonmar] · e343c124
      simonmar authored
      atomicModifyMutVarzh_fast: move the sm_mutex acquisition *after* the
      heap check
      e343c124
    • simonmar's avatar
      [project @ 2005-04-25 13:45:40 by simonmar] · 6d6a9574
      simonmar authored
      Yet another StgClosure that should be StgThunk
      6d6a9574
    • simonmar's avatar
      [project @ 2005-04-25 13:17:59 by simonmar] · c63c56c2
      simonmar authored
      stg_raise: we should by using StgThunk_payload(), not StgClosure_payload()
      c63c56c2
    • simonmar's avatar
      [project @ 2005-04-25 13:02:31 by simonmar] · 50b971bd
      simonmar authored
      Requested by Duncan Coutts: -optc flags get passed to the assembler
      phase too.  It's not obvious, when using GHC to compile a .c file,
      that options need to be passed both with -optc and -opta - gcc doesn't
      need this, for example.
      
      This is an experimental change - if it breaks anything we can back it
      out.  If anyone needs to pass flags to the .c->.s phase *only*, then
      we will need to add another flag for that purpose.  It seems unlikely,
      though (there aren't many flags that affect the assembler only, and
      those that do don't conflict with flags for the C phase).
      50b971bd
    • simonmar's avatar
      [project @ 2005-04-25 09:32:23 by simonmar] · c03e133e
      simonmar authored
      daVinci is now called uDraw(Graph)
      c03e133e
  4. 24 Apr, 2005 4 commits
  5. 23 Apr, 2005 4 commits
  6. 22 Apr, 2005 5 commits