Rev 2946 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2946 | Rev 3108 | ||
---|---|---|---|
Line 417... | Line 417... | ||
417 | printf("Syscall Tracer\n"); |
417 | printf("Syscall Tracer\n"); |
418 | printf("Press 'c' to connect\n"); |
418 | printf("Press 'c' to connect\n"); |
419 | while ((i = getchar()) != 'c') |
419 | while ((i = getchar()) != 'c') |
420 | putchar(i); |
420 | putchar(i); |
421 | 421 | ||
422 | taskid = 14; |
422 | taskid = 13; |
423 | rc = task_connect(taskid); |
423 | rc = task_connect(taskid); |
424 | if (rc < 0) { |
424 | if (rc < 0) { |
425 | printf("Failed to connect to task %d\n", taskid); |
425 | printf("Failed to connect to task %d\n", taskid); |
426 | return; |
426 | return; |
427 | } |
427 | } |