代码搜索结果
找到约 10,000 项符合
Debug 的代码
debug.c
#include "calld.h"
#include
/* Note that all debug output goes back to the client. */
void
DEBUG(char *fmt, ...) /* debug output, newline at end */
{
va_list a
debug.h
/*
debug.h:
if DEBUG defined: debugging macro fprintf wrappers
else: macros defined to do nothing
That saves typing #ifdef DEBUG all the time and still preserves
lean code without debugging.
debug.lkf
-z -q -c -o"./Debug/gpio.out" -x -i"C:/ti/c2000/cgtools/lib"
"C:\ti\c2000\cgtools\lib\rts2800.lib"
"C:\ti\myprojects\gpio\gpio\Debug\DSP28_Adc.obj"
"C:\ti\myprojects\gpio\gpio\Debug\DSP28_CpuTimers
debug.lkv
-z -q -c -o"./Debug/gpio.out" -x -i"C:/ti/c2000/cgtools/lib"
"C:\ti\c2000\cgtools\lib\rts2800.lib"
"C:\ti\myprojects\gpio\gpio\Debug\DSP28_Adc.obj"
"C:\ti\myprojects\gpio\gpio\Debug\DSP28_CpuTimers
debug.lkf
-z -q -c -o"./Debug/cputimer.out" -x -i"C:/ti28x/c2000/cgtools/lib"
"C:\ti28x\c2000\cgtools\lib\rts2800.lib"
"C:\ti28x\myprojects\cputimer\Debug\CpuTimer.obj"
"C:\ti28x\myprojects\cputimer\Debug\DS
debug.lkv
-z -q -c -o"./Debug/cputimer.out" -x -i"C:/ti28x/c2000/cgtools/lib"
"C:\ti28x\c2000\cgtools\lib\rts2800.lib"
"C:\ti28x\myprojects\cputimer\Debug\CpuTimer.obj"
"C:\ti28x\myprojects\cputimer\Debug\DS
debug.lkf
-z -q -c -m"AD.MAP" -o"./Debug/AD.out" -x -i"C:/ti28x/c2000/cgtools/lib"
"C:\ti28x\c2000\cgtools\lib\rts2800.lib"
"C:\ti28x\myprojects\ad\Debug\ad.obj"
"C:\ti28x\myprojects\ad\Debug\DSP28_Adc.obj"
debug.lkv
-z -q -c -m"AD.MAP" -o"./Debug/AD.out" -x -i"C:/ti28x/c2000/cgtools/lib"
"C:\ti28x\c2000\cgtools\lib\rts2800.lib"
"C:\ti28x\myprojects\ad\Debug\ad.obj"
"C:\ti28x\myprojects\ad\Debug\DSP28_Adc.obj"
debug.h
#ifndef __debug_print_h_
#define __debug_print_h_
void debug_print(const char *format, ...);
#endif
debug.c
#include
#include
#define DEBUG
#if defined(DEBUG)
void debug_print(const char *format, ...)
{
va_list ap;
char buf[512];
va_start(ap,format);
vsprintf(buf,form