gcode-mirror / strace-plus

Automatically exported from code.google.com/p/strace-plus
Other
0 stars 0 forks source link

incomplete backtrace #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gcc -g hello.c -o hello
2. ./strace -k -o hello.out ./hello
3.  python scripts/pretty_print_strace_out.py hello.out --trace

What is the expected output? What do you see instead?
expected output should include filename and fucntions called in backtrace but I 
see following:-
write(1, "Hello world\n", 12)           = 12
  > write() [/lib/x86_64-linux-gnu/libc-2.15.so]
write(1, "foo\n", 4)                    = 4
  > write() [/lib/x86_64-linux-gnu/libc-2.15.so]
write(1, "bar\n", 4)                    = 4
  > write() [/lib/x86_64-linux-gnu/libc-2.15.so]
write(1, "bar again\n", 10)             = 10
  > write() [/lib/x86_64-linux-gnu/libc-2.15.so]

What version of the product are you using? On what operating system?
Platform:  Ubuntu Linux 12.04
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
x86_64 GNU/Linux

Please provide any additional information below.
Please find the source code file attached.

Original issue reported on code.google.com by rahulz2...@gmail.com on 26 Jul 2014 at 4:26

Attachments: