Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [imac]$ or1k-linux-gcc -static backtrace.c; qemu-or32 ./a.out | head [utils]
- backtrace.c: In function ‘trace_fcn’:
- backtrace.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
- printf("\t#%d: program counter at %08x\n", *depth, _Unwind_GetIP(ctx));
- ^
- #0: program counter at 000003e8
- #1: program counter at 00000414
- #2: program counter at 00000448
- #3: program counter at 0000047c
- #4: program counter at 000004b0
- #5: program counter at 0000ab8c
- #6: program counter at 00000000
- [imac]$ or1k-linux-gcc -static backtrace.c -O; qemu-or32 ./a.out | head [utils]
- backtrace.c: In function ‘trace_fcn’:
- backtrace.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
- printf("\t#%d: program counter at %08x\n", *depth, _Unwind_GetIP(ctx));
- ^
- #0: program counter at 000003ac
- #1: program counter at 0000041c
- #2: program counter at 0000041c
- #3: program counter at 0000041c
- #4: program counter at 0000041c
- #5: program counter at 0000041c
- #6: program counter at 0000041c
- #7: program counter at 0000041c
- #8: program counter at 0000041c
- #9: program counter at 0000041c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement