On 10/27/05, D. Walsh <email@hidden> wrote:
On Oct 27, 2005, at 04:01 , Jonas Maebe wrote:
On 27 Oct 2005, at 00:00, Mark Wagner wrote:
I don't happen to have access to 10.4, so are there any
memory debuggers that work on 10.3.9?
You could try electric fence, it's similar to GuardMalloc:
http://perens.com/FreeSoftware/ElectricFence/
I've never tried it under OS X, but don't see why it wouldn't work.
Jonas
I looked at this before, it doesn't build in Mac OSX unless you
comment out line 33 of page.c but then it still failed so digging
deeper into the source I determined that it required a switch.
Thanks. I found the memory bug that's been plaguing me for some time:
CodeWarrior/CFM does not provide a "uint" type, so our code defines it
in a header file as being 16 bits. GCC/Mach-O *does* provide it, so
our header file doesn't -- but it's now 32 bits. Needless to say,
this causes problems when trying to load 16 bits of data from a binary
file.