This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'char **environ' woes with cygwin



>     space_used = marker_2 - marker_1;

This won't work in DJGPP either.  sbrk() allocates memory from
wherever the system can find it - it doesn't always show up in
contiguous blocks.  Not that many DJGPP users care how much memory gdb
is using.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]