Date: Sat, 12 Mar 94 17:12:43 EST From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: How do you debug a debugger? Reply-To: babcock AT cfa DOT harvard DOT edu I've been trying to use either the standard djgpp debugger or sally to debug under os/2. I find that I get a "segmentation violation in pointer" message as soon as I step into _main. Symify indicates that the error with sally occurs in add_file; the standard debugger doesn't seem to have debug info included, but I think it's the same problem in both. Both debuggers work under DOS (VCPI mode), and I am using the dpmi versions under os/2. I have installed the maint1,2,3 patches. The program being debugged has a fair amount of debug info. The file is 150K without debug info, 760K with debug info. Any suggestions? I also found two problems in sally (fsdb090.zip): 1. The call to sleep(1) in fullscr.c crashes under dpmi. I don't know why so I just commented out that call. I think it just holds the "about" message on screen for 1 second at startup and isn't used again. 2. Only the gray keypad keys work on my keyboard, the white keypad is ignored.