Mail Archives: djgpp/1996/12/12/11:33:37
John Miller wrote:
> Got any pointers pointing where they shouldn't? The problem could be
> caused by critical data getting corrupted. 
Nope,
the simplest program that exhibits this behavior is:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(int argc, char **argv){
 double f=-0.1,g=0.2;
 double foo;
 foo=sqrt(f/g);
 return 0;
}
Stepping over this caused a simple abort of the debugee. In fact, I 
couldn't reproduce the exit from RHIDE.
Moving the cursor to the return line and pressing F4 caused the
lock-up. No pointers at all.
Ciao
Tom
  ******************************************************************
  *  Thomas Demmer                     * Phone : +49 234 700 6434  *
  *  Universitaetsstr. 150             * Fax   : +49 234 709 4162  *
  *  Lehrstuhl fuer Stroemungsmechanik * Fax/Voice Box:            *
  *  D-44780 Bochum                    *   +49 2561 91371 2056     *
  ******************************************************************
  *  Email: demmer AT LStM DOT Ruhr-Uni-Bochum DOT De                         *
  *  WWW:   http://www.lstm.ruhr-uni-bochum.de/~demmer             *
  ******************************************************************
    You've got to stand for something
    Or you're gonna fall for anything
                                    --- John Mellencamp
- Raw text -