www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/28/07:57:24

Date: Wed, 28 Jul 93 13:08:31 +0100
From: buers AT dg1 DOT chemie DOT uni-konstanz DOT de (Dieter Buerssner)
To: kuku AT acds DOT physik DOT rwth-aachen DOT de
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: tracing system calls

   I still don't know why my application fails under Novell. In order to
   find out which of the system calls (creat, open, lseek,fstat etc.)
   fails, I would like to build a tracing function into turbo.s (turbo_assist)

   Has anyone done so before. The problem is that this function
   cannot use normal i/o because that in turn would imply invocation
   of turbo_assist causing endless recursion. 

I think, you should be able to do the tracing easily in real mode.
Just put in some debugging code into function turbo_assist in
exphdlr.c.
You might also be able to use dos-functions to write to stdout
an redirect the output.

	Dieter



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019