Use the correct debuggerd given the tid.
On 64 bit systems, calling dump_backtrace_to_file will automatically call debuggerd64. If the process to dump is actually 32 bit, this creates an unrecognizable dump backtrace. Modify the code to check the type of the process and connect to the appropriate debuggerd process. This change refactors both the tombstone and backtrace functionality to allow both to work properly on 64 bit systems when dealing with mixed processes. Bug: 17487122 Change-Id: Icf123a6f4508b1aeec073663aa1a0ceae5380aa1
Loading
Please register or sign in to comment