Rev 2872 | Rev 2874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2872 | Rev 2873 | ||
---|---|---|---|
Line 341... | Line 341... | ||
341 | return; |
341 | return; |
342 | } |
342 | } |
343 | 343 | ||
344 | printf("Connected to task %d\n", taskid); |
344 | printf("Connected to task %d\n", taskid); |
345 | 345 | ||
- | 346 | ipcp_init(); |
|
- | 347 | ||
346 | rc = get_thread_list(); |
348 | rc = get_thread_list(); |
347 | if (rc < 0) { |
349 | if (rc < 0) { |
348 | printf("Failed to get thread list (error %d)\n", rc); |
350 | printf("Failed to get thread list (error %d)\n", rc); |
349 | return; |
351 | return; |
350 | } |
352 | } |
Line 360... | Line 362... | ||
360 | printf("terminate debugging session...\n"); |
362 | printf("terminate debugging session...\n"); |
361 | abort_trace = 1; |
363 | abort_trace = 1; |
362 | debug_end(phoneid); |
364 | debug_end(phoneid); |
363 | ipc_hangup(phoneid); |
365 | ipc_hangup(phoneid); |
364 | 366 | ||
- | 367 | ipcp_cleanup(); |
|
- | 368 | ||
365 | printf("done\n"); |
369 | printf("done\n"); |
366 | return; |
370 | return; |
367 | } |
371 | } |
368 | 372 | ||
369 | int main(void) |
373 | int main(void) |