Branch: Tag:

2008-06-24

2008-06-24 01:43:47 by Martin Stjernholm <mast@lysator.liu.se>

Use the stack inspection feature of newer gnu libc's to add some handy C
stack backtrace reporting to dmalloc.

Rev: src/configure.in:1.1055
Rev: src/dmalloc.h:1.64
Rev: src/pike_memory.c:1.192

1: - AC_REVISION("$Id: configure.in,v 1.1054 2008/06/10 20:56:26 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.1055 2008/06/24 01:43:46 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2361:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1054 2008/06/10 20:56:26 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1055 2008/06/24 01:43:46 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2399:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1054 2008/06/10 20:56:26 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1055 2008/06/24 01:43:46 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2408:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1054 2008/06/10 20:56:26 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1055 2008/06/24 01:43:46 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3157:    ws2tcpip.h valgrind/memcheck.h memcheck.h valgrind.h \    sys/prctl.h sys/ioctl.h mach/task_info.h mach/task.h \    mach/mach_init.h syscall.h sys/syscall.h devices/timer.h \ -  direct.h CoreServices/CoreServices.h,,,[ +  direct.h CoreServices/CoreServices.h execinfo.h,,,[   #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__)   #define __NT__   #endif
4421:    getpagesize \    GetSystemInfo \    clock_getcpuclockid \ +  backtrace \   )      # SunOS 4 realloc() returns NULL when reallocing NULL.