On Thu, Jan 12, 2012 at 12:58 AM, Harald Servat <[email protected]> wrote:
> I've read Arun's answer in your other mail. However, I see a drawback > there in our specific situation. In our case, the binary that generates > the final tracefile is not the analyzed application but a secondary > application. Thus we don't have the chance to use unw_set_reg because > the process image is not the same as the one it was being executed. In > fact, the analyzed application binary is received as a parameter and > passed to bfd_open. That's a harder problem to solve, especially if you have "randomize va" sysctl turned on (true for most linux distros). One option would be to use a core dumper library to dump core (or save /proc/pid/maps) and then analyze it via libbfd and friends. -Arun _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
