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

Malcolm Wallace malcolm@sparud.net
Tue, 13 Feb 2001 15:26:55 +0100 (CET)


malcolm: Tue Feb 13 15:26:55 CET 2001

Update of /usr/src/master/nhc/src/tracer/runtime
In directory hinken:/tmp/cvs-serv19455/src/tracer/runtime

Modified Files:
	browsercomms.c ident.c ident.h stacktrace.c 
Log Message:
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.