Branch: Tag:

1998-04-13

1998-04-13 14:21:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for tracing individual threads.
Added support for tracing the compiler.

Rev: src/configure.in:1.175
Rev: src/main.c:1.48

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.47 1998/04/06 17:28:18 grubba Exp $"); + RCSID("$Id: main.c,v 1.48 1998/04/13 14:21:28 grubba Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
47:   int d_flag=0;   int c_flag=0;   int t_flag=0; + int default_t_flag=0;   int a_flag=0;   int l_flag=0;   int p_flag=0; -  + #ifdef YYDEBUG + extern int yydebug; + #endif /* YYDEBUG */   static long instructions_left;      static void time_to_exit(struct callback *cb,void *tmp,void *ignored)
225:    d_flag+=STRTOL(p+1,&p,10);    break;    +  case 'c': +  p++; + #ifdef YYDEBUG +  yydebug++; + #endif /* YYDEBUG */ +  break; +     case 's':    debug_options|=DEBUG_SIGNALS;    p++;
254:    t_flag+=STRTOL(p+1,&p,10);    else    t_flag++,p++; +  default_t_flag = t_flag;    break;       case 'p':