S
suman
I am trying out addr2line inside my program.I am invoking system(cmd) where cmd
is a string "addr2line -e exename -f 0x56773" where 0x56773 is an address inside
my program.
Now the problem is i want the output of addr2line to be written to a file(All
the logs inside my program are written to file only). By default addr2line will
print its output to stdout, which is what i don't want. Is it possible to
"redirect" the output of addr2line to the FILE??
Can any one please help me in this regard,
Thanks in advance,
Suman
is a string "addr2line -e exename -f 0x56773" where 0x56773 is an address inside
my program.
Now the problem is i want the output of addr2line to be written to a file(All
the logs inside my program are written to file only). By default addr2line will
print its output to stdout, which is what i don't want. Is it possible to
"redirect" the output of addr2line to the FILE??
Can any one please help me in this regard,
Thanks in advance,
Suman