SHARE
TWEET

Untitled

a guest Jan 22nd, 2013 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [imac]$ or1k-linux-gcc -static backtrace.c; qemu-or32 ./a.out  | head                                                  [utils]
  2. backtrace.c: In function ‘trace_fcn’:
  3. backtrace.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
  4.    printf("\t#%d: program counter at %08x\n", *depth, _Unwind_GetIP(ctx));
  5.    ^
  6.         #0: program counter at 000003e8
  7.         #1: program counter at 00000414
  8.         #2: program counter at 00000448
  9.         #3: program counter at 0000047c
  10.         #4: program counter at 000004b0
  11.         #5: program counter at 0000ab8c
  12.         #6: program counter at 00000000
  13.  
  14.  
  15. [imac]$ or1k-linux-gcc -static backtrace.c -O; qemu-or32 ./a.out  | head                                               [utils]
  16. backtrace.c: In function ‘trace_fcn’:
  17. backtrace.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
  18.    printf("\t#%d: program counter at %08x\n", *depth, _Unwind_GetIP(ctx));
  19.    ^
  20.         #0: program counter at 000003ac
  21.         #1: program counter at 0000041c
  22.         #2: program counter at 0000041c
  23.         #3: program counter at 0000041c
  24.         #4: program counter at 0000041c
  25.         #5: program counter at 0000041c
  26.         #6: program counter at 0000041c
  27.         #7: program counter at 0000041c
  28.         #8: program counter at 0000041c
  29.         #9: program counter at 0000041c
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top