Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2837 → Rev 2838

/branches/tracing/uspace/app/sctrace/sctrace.c
10,6 → 10,7
#include <ipc/ipc.h>
#include <fibril.h>
#include <errno.h>
#include <udebug.h>
 
#include "syscalls.h"
#include "errors.h"
159,6 → 160,12
rc = debug_go(phoneid, threadid_buf[0],
&ev_type, &sc_id, &sc_rc);
 
printf("rc = %d, ev_type=%d\n", rc, ev_type);
if (ev_type == UDEBUG_EVENT_FINISHED) {
printf("thread %u debugging finished\n", threadid_buf[0]);
break;
}
 
/* Read syscall arguments */
if (rc >= 0) {
rc = debug_args_read(phoneid, threadid_buf[0],