##
## Changes: Edwin Steiner
##
-## $Id: Makefile.am 5253 2006-08-18 18:37:19Z tbfg $
+## $Id: Makefile.am 5258 2006-08-22 09:02:25Z tbfg $
## Process this file with automake to produce Makefile.in
stack.c \
stack.h \
stacktrace.c \
- stacktrace.h \
- ../options.h
+ stacktrace.h
libjit_la_SOURCES += \
cfg.c \
Joseph Wenninger
Edwin Steiner
- $Id: dseg.c 5253 2006-08-18 18:37:19Z tbfg $
+ $Id: dseg.c 5258 2006-08-22 09:02:25Z tbfg $
*/
s4ptr = (s4 *) (ptrint) code->mcode;
- if (opt_colorverbose) printf("\033[34m"); /* blue */
+ if (opt_debugcolor) printf("\033[34m"); /* blue */
printf(" --- dump of datasegment\n");
for (i = cd->dseglen; i > 0 ; i -= 4) {
}
printf(" --- begin of data segment: %p\n", (void *) s4ptr);
- if (opt_colorverbose) printf("\033[m");
+ if (opt_debugcolor) printf("\033[m");
}
#endif /* !defined(NDEBUG) */
Edwin Steiner
Christian Thalinger
- $Id: method.c 5253 2006-08-18 18:37:19Z tbfg $
+ $Id: method.c 5258 2006-08-22 09:02:25Z tbfg $
*/
#if !defined(NDEBUG)
void method_println(methodinfo *m)
{
- if (opt_colorverbose) printf("\033[31m"); /* red */
+ if (opt_debugcolor) printf("\033[31m"); /* red */
method_print(m);
- if (opt_colorverbose) printf("\033[m");
+ if (opt_debugcolor) printf("\033[m");
printf("\n");
}
#endif /* !defined(NDEBUG) */
Changes:
- $Id: options.c 5253 2006-08-18 18:37:19Z tbfg $
+ $Id: options.c 5258 2006-08-22 09:02:25Z tbfg $
*/
s4 opt_stacksize = 0; /* thread stack size */
bool opt_verbose = false;
-bool opt_colorverbose = false; /* use ANSI terminal sequences */
+bool opt_debugcolor = false; /* use ANSI terminal sequences */
bool compileall = false;
bool loadverbose = false;
Changes:
- $Id: options.h 5253 2006-08-18 18:37:19Z tbfg $
+ $Id: options.h 5258 2006-08-22 09:02:25Z tbfg $
*/
extern s4 opt_stacksize;
extern bool opt_verbose;
-extern bool opt_colorverbose;
+extern bool opt_debugcolor;
extern bool compileall;
extern bool loadverbose; /* Print debug messages during loading */
OPT_METHOD,
OPT_SIGNATURE,
OPT_SHOW,
- OPT_COLORVERBOSE,
+ OPT_DEBUGCOLOR,
OPT_ALL,
#if defined(ENABLE_VERIFIER)
#endif
{ "m", true, OPT_METHOD },
{ "s", true, OPT_SHOW },
- { "verbosecolor", false, OPT_COLORVERBOSE },
+ { "debug-color", false, OPT_DEBUGCOLOR },
{ NULL, false, 0 }
};
puts(" -v write state-information");
puts(" -verbose[:call|exception|jit]");
puts(" enable specific verbose output");
- puts(" -verbosecolor colored output for ANSI terms");
+ puts(" -debug-color colored output for ANSI terms");
#ifdef TYPECHECK_VERBOSE
puts(" -verbosetc write debug messages while typechecking");
#endif
else if (strcmp("exception", opt_arg) == 0)
opt_verboseexception = true;
break;
- case OPT_COLORVERBOSE:
- opt_colorverbose = true;
+ case OPT_DEBUGCOLOR:
+ opt_debugcolor = true;
break;
#if defined(ENABLE_VERIFIER) && defined(TYPECHECK_VERBOSE)