Changeset 1962


Ignore:
Timestamp:
07/09/12 04:42:21 (10 months ago)
Author:
reyalp
Message:

add code to save stack dumps and other debug information, controlled by OPT_DBG_DUMP

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/buildconf.inc

    r1763 r1962  
    3030# experimental PTP/USB interface 
    3131OPT_PTP=1 
     32  
     33# code to dump stack and other debug information, see core/dbg_dump.c 
     34#OPT_DBG_DUMP=1 
    3235 
    3336#OPT_MD_DEBUG=1 
  • trunk/core/Makefile

    r1921 r1962  
    5959#CFLAGS+=-DOPT_EXMEM_MALLOC 
    6060OPT_OBJS+=suba.o 
     61endif 
     62ifdef OPT_DBG_DUMP 
     63OPT_OBJS+=dbg_dump.o 
    6164endif 
    6265 
  • trunk/makefile.inc

    r1913 r1962  
    199199endif 
    200200 
     201ifdef OPT_DBG_DUMP 
     202CFLAGS+=-DOPT_DBG_DUMP 
     203endif 
     204 
    201205ifdef OPT_WARNINGS 
    202206     ifeq ($(GCC_VERSION_MAJOR),3) 
Note: See TracChangeset for help on using the changeset viewer.