Re: [xml] DEBUG_MEMORY_LOCATION problem
- From: Daniel Veillard <veillard redhat com>
- To: Wessel <wessel aule net>
- Cc: xml gnome org
- Subject: Re: [xml] DEBUG_MEMORY_LOCATION problem
- Date: Mon, 21 Jan 2002 12:00:52 -0500
On Mon, Jan 21, 2002 at 05:25:38PM +0100, Wessel wrote:
After recompiling with ./configure --with-mem-debug, my program dumps a
.memdump file every time it quits. One of the lines from .memdump looks
like:
30 619 3 malloc() in none(0) "IP"
Now I'm trying to get the none(0) replaced with __FILE__ and __LINE__
respectively. I defined DEBUG_MEMORY_LOCATION at the top of my header
file. However, this does not work. GDB says:
[...]
How is it possible that the #define doesn't work?
Impossible to tell for example. Your code may include libxml include first
among a zillion other things.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]