delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/20/10:26:23

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).


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019