• Christopher Ferris's avatar
    Use the correct debuggerd given the tid. · a9fa7b87
    Christopher Ferris authored
    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
    a9fa7b87
debugger.c 3.64 KB