printf("Breakpoint %d reached\n", number); debugger = true;
bool cond = debuggerCondEvaluate(number & 255); if(cond) { printf("Breakpoint %d reached\n", number); debugger = true; } else { debuggerDisableBreakpoints(); debuggerPrefetch(); emulator.emuMain(1); debuggerEnableBreakpoints(false); return; }
void debuggerSignal(int sig,int number){  switch(sig) {  case 4:    {      printf("Illegal instruction at %08x\n", armNextPC);      debugger = true;    }    break;  case 5:    {      printf("Breakpoint %d reached\n", number);      debugger = true;      debuggerAtBreakpoint = true;      debuggerBreakpointNumber = number;      debuggerDisableBreakpoints();            Function *f = NULL;      CompileUnit *u = NULL;            if(elfGetCurrentFunction(armNextPC, &f, &u)) {        char *file;        int line = elfFindLine(u,f,armNextPC,&file);        printf("File %s, function %s, line %d\n", file, f->name,               line);      }    }    break;  default:    printf("Unknown signal %d\n", sig);    break;  }}