Mail Archives: djgpp/1997/11/11/08:32:01
On Mon, 10 Nov 1997 18: 2:48 in comp.os.msdos.djgpp Charles Sandmann
<sandmann AT clio DOT rice DOT edu> wrote:
: Do NOT do this unless you have set the flag for unixy sbrk() in crt0.h!
: There may be huge (potentially 4Gb) holes in your address space using
: the non-move sbrk() - which makes writing core files difficult.
[snip]
: anyway. To find out what memory is really in use, you have to look
: in the memory zone list in crt0.
Thanks very much for the advice. Does the latter point here mean that
even using the default non-move sbrk I can just save the areas shown
in the zone list, or is it just not practical to do this sort of thing
with this sbrk system? I've heard a lot of people abusing things like
__djgpp_nearptr_enable() in ways which would break, AFAIK, under the
unixy sbrk; it would be nice to have this working under either sbrk.
Nothing to lose sleep over, though; it's their code that's wrong.
I do seem to have completely missed the point of sbrk though...
Thanks again.
--
Regards,
george DOT foot AT merton DOT oxford DOT ac DOT uk
- Raw text -