diff options
author | keith <empty> | 1992-04-08 17:10:32 +0000 |
---|---|---|
committer | keith <empty> | 1992-04-08 17:10:32 +0000 |
commit | e9eb4c0c1598a4ee4082989c3d613f12122fd5dc (patch) | |
tree | b0989c20d4bae30a5ce90c63841733ad41f2e98d /xc/util | |
parent | 394ad1382e2ea7a5f331229dccea3d8fa2fde80a (diff) |
*** empty log message ***
Diffstat (limited to 'xc/util')
-rw-r--r-- | xc/util/memleak/README | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xc/util/memleak/README b/xc/util/memleak/README index fd5a06a37..23d7199eb 100644 --- a/xc/util/memleak/README +++ b/xc/util/memleak/README @@ -27,10 +27,13 @@ exits (by registering with atexit(3)/on_exit(3)). You can call it whenever you want; the X server calls it after each reset when os/utils.c is compiled -DMEMBUG. +To include this in your application, simply place libmemleak.a before the +end of the link line; it will then override the C library allocator. + To port this system to a new machine, you must provide two values, one indicating the lowest data address in a program and one indicating the highest stack address. In addition, to get return stack traces (which are almost essential for debugging), you must provide the function getReturnStack. Samples for MIPS and SPARC are included already. --keit +-keith |