Date: Thu, 23 Jul 1998 09:45:48 +0300 (IDT) From: Eli Zaretskii To: Anton Helm cc: djgpp AT delorie DOT com Subject: Re: djgpp and WinNT 4.0 summary of problems In-Reply-To: <3.0.5.32.19980722192339.0099e970@hal.nt.tuwien.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 22 Jul 1998, Anton Helm wrote: > Are there other standard C library functions > calling abort() in case of an error/exception? I already checked that before replying to you ;-). The full list of the functions/modules is attached below. None of the functions seem to be relevant to your case. I don't see `putpath' called anywhere in the exception-handling code, and the startup code can only call abort *before* `main'. As for the rest, I don't think you use them (`alloca' should be inlined and the library version never used). So I'm stumped. I hope the debugger backtrace will clarify things. > >> gdb exits to DOS prompt (NOT to NC) and the working directory changes > >> to the one before invoking NC. > > > >This means that NC is aborted as well. I don't know why. > Even more, the NC screen is restored on the DOS window but the prompt > now belongs to dos and no longer to NC (e.g. NC screen is scrolling out > of the window when pressing ). So it seems like NC is aborted after it redraws the screen. Here's the list of library modules that call `abort': src/debug/fsdb/fullscr.c src/libc/compat/stdlib/alloca.c src/libc/crt0/crt1.c