History log of /system/core/debuggerd/debuggerd.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
75582957cfe1c985aa58dd64d7e1405fa93b04e0 26-Jun-2014 Brigid Smith <brigidsmith@google.com> Fixed tid/pid mixup in debuggerd gdbclient output.

Now the debugging output shows the tid of the crashed thread instead of
the pid of the process that crashed.

Change-Id: I637f409ff02d73d458edc6d1a5c462c21d128211
/system/core/debuggerd/debuggerd.cpp
20c214f857ea97cfbfdd16c006601ff1369db0ca 24-Jun-2014 Brigid Smith <brigidsmith@google.com> Fixed pathname for connecting to debugger.

The debug output was still showing the pathname that worked with
gdbclient before my changes, and therefore did not work after the fact.

Change-Id: Ie12d79f5346088914ce0a70bda69780707b31d31
/system/core/debuggerd/debuggerd.cpp
e901c1bf8ab7455ccb013244959045d4cddc124b 19-Jun-2014 Elliott Hughes <enh@google.com> Fix debuggerd "format '%p'" build breakage.

Change-Id: I589d44485e55c23d1f1a6edfa8310a90cac2429e
/system/core/debuggerd/debuggerd.cpp
50eb546ec1584c04cf18f1941a042d7c5d045a67 18-Jun-2014 Brigid Smith <brigidsmith@google.com> Removed log.quiet and log = NULL cases from debuggerd.

Now the functionality implemented by these semi-confusing cases has been
replaced with the same logtype enum behavior that is easier to
understand, and cases that used log-looking behavior to print to logcat
(when log = NULL) now use the more transparent ALOGE/ALOGD functions.

Change-Id: I7e38f2d4ca74a828df4d2266b3ea34edd3c6f5bb
/system/core/debuggerd/debuggerd.cpp
62ba489ba00a2689d4e257bc178cff87495f99d7 10-Jun-2014 Brigid Smith <brigidsmith@google.com> Changing how debuggerd filters log messages to different locations.

The system by which debuggerd filters its output to different locations
is now based on an enum called logtype with easy to understand
categories for log messages (like THREAD, MEMORY, etc.) instead of the
old, fairly esoteric scope_flags variable. Now much of the output that
previously went to logcat does not show up on the screen, but all output
can be found in the tombstone file. In addition, the tombstone's
location is now printed so it can be located easily.

Bug: 15341747
Change-Id: Ia2f2051d1dfdea934d0e6ed220f24345e35ba6a2
/system/core/debuggerd/debuggerd.cpp
a323b504a70af5f143532f0ef521eb61ecddad6b 17-May-2014 Elliott Hughes <enh@google.com> Teach debuggerd the name of SIGTRAP.

Also add SIGTRAP to the list of signals we don't want to double fault on.

Bug: 15024256
Change-Id: I23ab80800563c007fcd3e42527329fedf762f0c8
/system/core/debuggerd/debuggerd.cpp
27ab751c7bd0dbdb9c3d19034ffb133b545ce233 17-May-2014 Elliott Hughes <enh@google.com> Remove the broken LED flashing code from debuggerd.

Change-Id: I4d0cbe14daa90ac5f91ce4597584448ee3c65dda
/system/core/debuggerd/debuggerd.cpp
d9bf2b21370faeda4ef57932a42a14c05557e71a 17-May-2014 Elliott Hughes <enh@google.com> Output correct gdbserver instructions from debuggerd.

Bug: 15021938
Change-Id: I2df433d939f5f83ed2a2a30af357b83e4d8e5331
/system/core/debuggerd/debuggerd.cpp
7e35ae8fc840cc1855d26084fdd72cbc3241f04d 17-May-2014 Elliott Hughes <enh@google.com> Add SIGTRAP support to crasher and debuggerd.

Bug: 15024256
Change-Id: I3f34993fcfd9799306852b0a2195db468370be6e
/system/core/debuggerd/debuggerd.cpp
855fcc3114c20ff9fd286fe1723d1413fec9685a 26-Apr-2014 Elliott Hughes <enh@google.com> Use the si_code value bionic passes us.

Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.

Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
/system/core/debuggerd/debuggerd.cpp
0df8e4f86c93016daa2a6040c87247c4658cd33a 07-Feb-2014 Elliott Hughes <enh@google.com> Use socklen_t instead of int in debuggerd.

Also other trivial C++ cleanup.

Change-Id: I9b5278c5205e0ea4f9dcbbe3e7b99921dd2436dc
/system/core/debuggerd/debuggerd.cpp
abc60c26b7448e6b2842351688a7a823b8b787d6 19-Dec-2013 Kévin PETIT <kevin.petit@arm.com> AArch64: Port debuggerd

Change-Id: Ib18f76f375a1d70c84e0a09d221e17ac43144b96
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
/system/core/debuggerd/debuggerd.cpp
20303f856f1f1cdb5af58af0b116b8c598f0ea5c 11-Jan-2014 Christopher Ferris <cferris@google.com> Next phase of the move, reformat use C++ features.

Use the libbacktrace C++ interface instead of the C interface in debuggerd.

Reformat the debuggerd code to be closer to Google C++ style.

Fix all debuggerd casts to be C++ casts.

Add a frame number to the frame data structure for ease of formatting and
add another FormatFrameData function.

Change the format_test to use the new FormatFrameData function.

Modify all of the backtrace_test to use the C++ interface.

Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
/system/core/debuggerd/debuggerd.cpp
d607495b892fe6ffa1cd30eaad114eec97d77681 11-Jan-2014 Christopher Ferris <cferris@google.com> Move to C++ for debuggerd.

This is part 1, only including the bare minimum changes because
our diff tool doesn't easily show differences when a file moves. This
also breaks it into a small chunk in case some other changes break things,
as unlikely as I think that will be.

Change-Id: Ib7a3e7a2cc1ac574d15b65fda23813ebcf5d31af
/system/core/debuggerd/debuggerd.cpp