OSDN Git Service

Print the command line and ABI in stack dumps like debuggerd.
authorJeff Brown <jeffbrown@google.com>
Thu, 11 Sep 2014 01:41:18 +0000 (18:41 -0700)
committerBrian Carlstrom <bdc@google.com>
Thu, 11 Sep 2014 23:04:55 +0000 (16:04 -0700)
commit09865b8aa2d85f2824fbdac8034cab01629e8adc
tree4c8e8c7a0167864124ab7b6e7a4f92eb5fd34b91
parent3892cf8da7d5e76c0dee585fc8f69df773680525
Print the command line and ABI in stack dumps like debuggerd.

Ensure the heading is "Cmd line:" just like debuggerd and
as it used to be in Dalvik.
Fix a missing newline.
Trim all training nulls from the command line.
Don't bother printing the original command line if unset.
Add the ABI to the dump to help the native stack symbol tool.

Bug: 17474152
Change-Id: Ie1da1bd4f38c92b13ea08c7122f4573d8ec8fc73
runtime/signal_catcher.cc