const char *file;
cyg_uint32 lnum;
#ifdef CYGDBG_INFRA_DEBUG_TRACE_MESSAGE
- char *exitmsg;
+ const char *exitmsg;
CYG_ADDRWORD exitvalue;
enum { UNSET = 0, SET, VOID } exitset;
#endif
Cyg_TraceFunction_Report_(
int condition, const char *psz_func, const char *psz_file,
- cyg_uint32 linenum, char *psz_exitmsg )
+ cyg_uint32 linenum, const char *psz_exitmsg )
{
cond = condition;
func = psz_func;
if ( cond )
cyg_tracemsg( cyg_trace_enter, func, file, lnum, "enter");
#else
- CYG_UNUSED_PARAM( char *, psz_exitmsg );
+ CYG_UNUSED_PARAM( const char *, psz_exitmsg );
if ( cond )
cyg_tracenomsg( func, file, lnum );
#endif
struct Cyg_TraceFunction_Report_
{
int cond;
- char *func;
- char *file; /* not strictly needed in plain 'C' */
+ const char *func;
+ const char *file; /* not strictly needed in plain 'C' */
cyg_uint32 lnum; /* nor this */
#ifdef CYGDBG_INFRA_DEBUG_TRACE_MESSAGE
- char *exitmsg;
+ const char *exitmsg;
CYG_ADDRWORD exitvalue;
int exitset;
#endif