Mail Archives: djgpp/1996/02/04/13:54:38
Charles Sandmann (sandmann AT clio DOT rice DOT edu) wrote:
> > I've written a couple of graphic routines with nearptrs and they run fine
> > under dos and cwsdpmi, but when I try to run them under gdb, I get a
> > segmentation violation signal.
>
> I believe you, I've never tried it. Does it work under EDEBUG32 or FSDB?
> If so, it may be some bug in GDB's memory management or something. Are
> you sure you are using the non-move sbrk()? This is exactly the problem
> I would expect using a debugger and the unix-sbrk with nearptrs (unless
> you reload the pointer). A simple example is most useful debugging these
> problems.
Those are a couple of good questions. I have not tried the program under
EDEBUG or FSDB. I don't know which version of sbrk I'm using, how do I
find out? - Guess it's time to go back and read the info files again :)
--
+------------------------Andrew McCaffrey+[fenric AT clark DOT net]------------+
|Doctor: But I don't exist in your world!|"Anybody remotely interesting |
|Brigade-Leader: Then you won't feel the |is mad in one way or another."|
|bullets when we shoot you. | - The Seventh Doctor |
| Doctor Who - Inferno (1970) | |
+----------------------------------------+------------------------------+
- Raw text -