Mail Archives: djgpp-workers/1996/12/23/08:06:37
On Mon, 23 Dec 1996, I wrote:
> Yes, it happens to me too. Programs compiled with -pg crash. I wasn't
> able until now to determine why.
I've looked closer at mcount.c and I think I've found the reason: `mcount'
calls `_mono_printf'. Since most systems don't have an additional mono
display, they will crash if they run in V86 mode, where the mono video RAM
is remapped by the memory manager. Is that call to `_mono_printf' there
for a purpose, or is it just a left-over from some debugging session?
When I ifdef'ed away that call, the profiled program worked as
advertised on a system with a single color monitor.
- Raw text -