Date: Wed, 20 Apr 94 09:32:21 -0400 From: dj AT ctron DOT com (DJ Delorie) To: drupp AT cs DOT washington DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, gnat-report AT cs DOT nyu DOT edu, drupp AT cs DOT washington DOT edu Subject: Re: Problem with generated assembly code > Below is the debugger output from a program generated by the Gnu C back_end > via the DOS port of the Gnat Ada compiler. As you can see it blows up at: > > 000013b4: 0000 add [eax],al eax=00000000 Whenever you see this in the debugger, reload the debugger and unassemble that address *before* you run the program. Chances are, this location is getting stomped on by the program (note the opcodes are all zeros).