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

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 Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]