Re: [quirks-uvm-devel] weekend questions
Status: Pre-Alpha
Brought to you by:
teodor
From: Max <rez...@us...> - 2002-04-08 12:01:38
|
Thanx for quick answers! Sergei Lodyagin wrote: >> 4) Now my Ada test_uvm works! But only with Asm_Backend. >> a) It does not support stdout as parameter of init_backend, does it? > > > Why not support? : > > ---------------------------------------------------------------- > void > a_init_backend (void* ptr) > { > if (mellow_initialized) fatal_error (FERR_INTERNAL); > out_file = (FILE *) ptr; > <------ /* LOOK HERE. */ > mellow_initialized = 1; > StringDA_init (&proc_names, 10, 20); > StringDA_zero_grow (&proc_names, 1); > indent_level = 0; > } > ------------------------------------------------------------ > What do you mean? > void c_start_procedure (ProcedureId id, const CellList* cell_list, UVM* uvm) { OrderEl i; CellListEl* el; ProcOffs po; /*har buf[CELL_STR_MAX_LEN+1];*/ CHECK_INIT; po.code = ftell (out_file); --------^^^------- It seems ftell return -1 for stdin which is unaccepteble for next code. Max |