Message-Id: <199602270921.EAA04383@delorie.com> Date: Tue, 27 Feb 96 11:12:15 LIT From: Martynas Kunigelis Subject: gprof problems To: DJGPP m/l First, I have read the FAQ, but found nothing... The problem is: whenever I try to run gprof on a COFF image compiled with the -pg switch, it complains about a missing file `gmon.out'. However, if I simply run `redir -t' on my program, the mentioned file is created and I can run gprof OK. I studied the sources of redir, it just merely calls time() if the -t switch is specified. So what gives? I've no idea. One more thing: are you guys satisfied with messages like: c:/djgpp/bin\ld.exe: ...... ^----- what about this, eh? It can be simply corrected by changing the xm-dos.h file in the gcc distribution. DJ promissed to put my example of hooking the kdb interrupt somewhere in a readable place, so check it out. Works ok under windoze, os/2 and cwsdpmi. I'll try it under qdpmi when I have it. This is it for now, bye... Martynas Kunigelis