Mail Archives: djgpp-workers/1998/08/12/12:30:27
On Wed, 12 Aug 1998, Andris Pavenis wrote:
> I suggest to add possibility to disable (at runtime) register and
> stack dump after SIGABRT. When I'm using assert() in program
> then the message outputted by assert() is often scrolled out of
> screen (together with previous output).
This should only happen when `abort' is called from a deeply-nested
function.
If you want to disable the crash traceback, just install a handler for
SIGABRT, and have it call `exit'. I think this is easy enough, and makes
(yet another) DJGPP-specific global variable and/or environment variable
unnecessary.
Also, if you don't want the traceback, why do you use `assert'?
- Raw text -