/branches/tracing/uspace/app/debug/main.c |
---|
158,6 → 158,16 |
thread_stop(); |
} |
/* |
* Called by a fibril (from arch code) when a single instruction |
* in singlestep is executed |
*/ |
void singlestep_hit(void) |
{ |
cons_printf("singlestep hit\n"); |
thread_stop(); |
} |
static int task_connect(int taskid) |
{ |
int rc; |
266,7 → 276,7 |
arch_event_breakpoint(thash); |
break; |
case UDEBUG_EVENT_TRAP: |
arch_event_trap(thash); |
arch_event_trap(dthread_get()); |
break; |
default: |
cons_printf("unknown event type %d\n", ev_type); |