[cvs-nhc98] patch applied (hat): Change the format of Hat (tracing) info tables.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:01:02 EDT 2006


Tue Feb 13 06:26:55 PST 2001  malcolm
  * Change the format of Hat (tracing) info tables.
  
      * Struct IdEntry now contains a pointer to struct ModInfo, rather
            than a char* modname.
      * Likewise, struct SrcRef also points to a struct ModInfo, rather
            than a char* modname.
      * In struct ModInfo, the char* srcfile field is now the genuine
            filename - the .hs suffix is no longer stripped.
      * All info structures now have an extra FileOffset word on the end,
            initially zero, but filled in when the structure is archived
            to file.
      * At the beginning of a traced computation, all ModInfo and IdEntry
            info is evacuated eagerly to an archive file.
  
  Note: because we added an extra word to each struct, this is a BREAKING
  change for traced code.  You cannot mix old and new traced modules.

    M ./src/compiler98/DbgDumpSRIDTable.hs -16 +24
    M ./src/compiler98/DbgDumpSRIDTableC.hs -9 +17
    M ./src/old/runtime/browsercomms.c -1 +3
    M ./src/old/runtime/ident.c -1 +110
    M ./src/old/runtime/ident.h -1 +12
    M ./src/old/runtime/stacktrace.c -3 +9


More information about the Cvs-nhc98 mailing list