Guest User

Untitled

a guest
Oct 30th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.78 KB | None | 0 0
  1. (lldb) r
  2. There is a running process, kill it and restart?: [Y/n] y
  3. Process 15721 exited with status = 9 (0x00000009)
  4. Process 17478 launched: './queueTest1' (x86_64)
  5. Testing the ascending queue
  6. Process 17478 stopped
  7. * thread #1: tid = 0x7b20a, 0x0000000100000a1e queueTest1`que_insert(queue=0x00000001001039b0, data=0x000000000000002a) + 62 at queueADT.c:62, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  8.     frame #0: 0x0000000100000a1e queueTest1`que_insert(queue=0x00000001001039b0, data=0x000000000000002a) + 62 at queueADT.c:62
  9.    59       n = malloc(sizeof(n));
  10.    60       n->next = NULL;
  11.    61       n->previous = NULL;
  12. -> 62       n->data = data;
  13.    63
  14.    64       // if compare function doesn't exist, place in front of queue
  15.    65       if(queue->cmp == NULL) {
Advertisement
Add Comment
Please, Sign In to add comment