1. 29 Jul, 2002 1 commit
  2. 28 Jul, 2002 3 commits
  3. 26 Jul, 2002 2 commits
    • simonmar's avatar
      [project @ 2002-07-26 09:35:46 by simonmar] · cecac854
      simonmar authored
      Always return 8-byte-aligned memory from arenaAlloc().  Fixes problems
      with profiling on sparc-sun-solaris2, and might fix problems with
      Windows too.
      
      MERGE
      cecac854
    • sof's avatar
      [project @ 2002-07-26 03:06:58 by sof] · 6b269a43
      sof authored
      interactiveLoop{mingw32}: always show prompt under mingw.
      
      hIsTerminalDevice returns True iff stdin is connected to a Console
      under Win32. Which it is when running in a command shell
      (DOS,bash etc.), but Emacs sub-shells don't get a Console of their
      own when invoked. So, just disable this feature (whose motivation
      somewhat escapes me.)
      6b269a43
  4. 25 Jul, 2002 2 commits
    • sof's avatar
      [project @ 2002-07-25 18:36:59 by sof] · d9d8ab15
      sof authored
      Expose printAllThreads() in non-DEBUG builds;
      of some use when debugging ConcHask code and
      want a dump of the current state of the system's
      threads.
      
      Not provided via a library, so to use, do
      
       foreign import call unsafe printAllThreads :: IO ()
      d9d8ab15
    • simonmar's avatar
      [project @ 2002-07-25 14:47:30 by simonmar] · 80a99ae2
      simonmar authored
      Add -ddump-minimal-imports (not sure why this was missing)
      
      MERGE
      80a99ae2
  5. 24 Jul, 2002 5 commits
  6. 23 Jul, 2002 11 commits
  7. 22 Jul, 2002 3 commits
  8. 21 Jul, 2002 1 commit
    • panne's avatar
      [project @ 2002-07-21 11:46:34 by panne] · 026fa45f
      panne authored
      Long explanation for small commit:
      
      With the recent reorganization of #includes, things get a little bit
      fragile: When gcc with -O is used, glibc's <stdio.h> defines a few
      inline functions (see <bits/stdio.h>), and "Stg.h" defines some global
      variables which reside in registers. But the latter must happen
      *before* any function definition has been seen, otherwise the
      generated code could be invalid. Consequently gcc complains like:
      
         In file included from Stg.h:182,
                          from mkNativeHdr.c:12:
         Regs.h:293: global register variable follows a function definition
         Regs.h:302: global register variable follows a function definition
      
      The solution is quite simple: Always #include "Stg.h" *before* any
      system headers.
      026fa45f
  9. 20 Jul, 2002 1 commit
  10. 19 Jul, 2002 5 commits
    • sof's avatar
      [project @ 2002-07-19 18:45:21 by sof] · 0974f1a8
      sof authored
      forkProcess():
       be less ambitious, and don't kill any main_threads.
       Killing them, and possibly replacing them on the
       main_threads with the current one, turned out to
       run into problems of its own (see comments.)
      
       The hope/wish is that the current behaviour of
       forkProcess will suffice.
      0974f1a8
    • simonmar's avatar
      [project @ 2002-07-19 11:48:20 by simonmar] · 542e4d92
      simonmar authored
      Remove the check for >4 args when doing a foreign import "wrapper" on
      Sparc: we support unlimited arguments now (from Sven Panne).
      542e4d92
    • simonmar's avatar
      [project @ 2002-07-19 11:47:30 by simonmar] · 5926dc51
      simonmar authored
      Code to make the general case of createAdjustor() work on Sparc, from
      Sven Panne.  Previously only 4 args were supported.
      5926dc51
    • simonmar's avatar
      [project @ 2002-07-19 11:46:31 by simonmar] · 541d1d89
      simonmar authored
      Sparc NCG fix from Sven Panne: 8-byte align the stack ptr when doing a ccall.
      541d1d89
    • sof's avatar
      [project @ 2002-07-19 00:06:05 by sof] · 180e628b
      sof authored
      forkProcess():
       - fix bug which left run_queue_tl in a bad state.
       - be better behaved wrt 'main threads', i.e.,
         if the killing thread isn't the main thread,
         make sure it's hooked up to main_threads +
         correctly signal the completion/killing of
         any main threads.
      180e628b
  11. 18 Jul, 2002 6 commits