| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
This modifies debuggerd to sleep-poll while waiting for the target
process to crash, rather than block (potentially forever).
Also, add/fix some error reporting.
Bug 5035703
Change-Id: Id62ab79f53104927f8de684dff1a5734dbdb8390
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a process receives a fatal signal, it connects to debuggerd
and initiates a conversation over a socket. When the crashing
process is debuggerd, the conversation stalls forever, and you
stop getting native crash details.
This resets the signal handlers to SIG_DFL, so that debuggerd
simply crashes and gets restarted.
Bug 5035703
Change-Id: Ie081d710d046f701bca7e7d8ea3e1d24766d9f61
|
| |
|
|
|
|
|
|
|
|
|
|
| |
separate item."
This reverts commit c031a3b006129ca408eaade325a53a334daee3b2.
Conflicts:
debuggerd/debuggerd.c
Change-Id: Ib37ae793bbffdb4a81837bc51171cc62b12abe7d
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This change ensures that debuggered properly releases
the signal handler that invoked it after the PTRACE_ATTACH.
The previous code simply did a close() of the file descriptor,
but for some reason, this didn't always make the read() blocking
the signal handler exit. Instead, the thread would stay blocked
and never fault, preventing the generation of a useful stack
trace.
Change-Id: I6b0579041165a710d74ec1bece113ff7b828aed4
|
| |\
| |
| |
| |
| | |
* commit '44659e90fe8df25c71195936eabe0cc9158c18a6':
debuggerd: IA version
|
| | |\
| | |
| | |
| | |
| | | |
* commit 'd3f59eab07d102b9506978aca9541dd62dcea919':
debuggerd: IA version
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0c0d9c2d7e476b8d117aaf505a9480a47c0b5c05
Signed-off-by: Lei Li <lei.l.li@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
| |\| |
| | |
| | |
| | | |
Change-Id: I0ac3f88ac85bbc604fdc151768da20e86318fb46
|
| | |\|
| | |
| | |
| | |
| | | |
* commit 'e382cc999e48b3faabea7743ec8cec303b6005ba':
debuggerd: Reorganize to facilitate IA commit
|
| | | |
| | |
| | |
| | |
| | | |
Change-Id: I22dd02daf617672fc0a8ba7e396017c57f17e26e
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and address.
Merge commit '5c5ff87ded019537bbaf6383618ef2956aaa0407'
* commit '5c5ff87ded019537bbaf6383618ef2956aaa0407':
Print out the signal code along with signal number and address.
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '83c6b052918178033875e7ea54ca746cf7303f87' into gingerbread-plus-aosp
* commit '83c6b052918178033875e7ea54ca746cf7303f87':
Print out the signal code along with signal number and address.
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I60a8b13f706714e80b11bc517101715dfe1c73c1
|
| |/ / /
| | |
| | |
| | | |
Change-Id: I350c9ddb496a76d1ee897ae84893bf0e86abd45c
|
| |\| |
| |/
|/|
| |
| |
| |
| |
| |
| | |
exidx section in libraries. This should fix the bug where the exception stack wasn\'t being printed past the PC." into gingerbread
Merge commit '891180320f0b08758d053a8562dfcd601ef846b0' into gingerbread-plus-aosp
* commit '891180320f0b08758d053a8562dfcd601ef846b0':
Fix bug in debuggerd so it can successfully find the exidx section in
|
| | |
| |
| |
| |
| |
| |
| | |
libraries. This should fix the bug where the exception stack wasn't
being printed past the PC.
Change-Id: Ia69ebd49606ee34e329ba43c07b325660248e8fa
|
| |\ \
| |/
|/|
| | |
Change-Id: I50b7bc6faa6d0abd4998cae8fc7dda1e8fa49407
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change enables debuggerd to provide backtraces with function
names in tombstone files and log messages. It does this by reading
the image file that the address is found in, and parsing the dynamic
symbol table to try to extract the symbol corresponding to the given
address.
This works best when "-Wl,-export-dynamic" is added to the LDFLAGS
of each library and executable, because this will cause all symbols
to be added to the dynamic symbol table. If this flag is not present,
it will still work, but it will only be able to identify functions
which are part of the external API of the library/executable.
Change-Id: I618baaff9ed9143b7d1a1f302224e9f21d2b0626
|
| | |
| |
| |
| | |
Change-Id: I6007ff21076e92b04a17fb030472a9f8842f0315
|
| | |
| |
| |
| |
| |
| |
| | |
Use __ARM_NEON__ instead of __VFP_FP__ to detect the need to retrieve FP
registers.
Dump more code around PC and LR to facilitate JIT debugging.
|
| | |
| |
| |
| |
| | |
Bug: 2226399
Caveat: d0/d1 appear to be clobbered by ptrace. It will be tracked by a new bug.
|
| |/
|
|
|
|
|
|
|
|
| |
Changed "process has crashed" message:
- say ":5039" instead of ":port" so mouse-paste of command is trivial
- removed trailing spaces, which consume log buffer to little effect
- improved (I hope) the short explanation of what's going on and
what the HOME key does
Fixed typo ("ignorning").
|
| |
|
|
| |
8 more lines should provide more crucial information in weird cases.
|
| | |
|
| | |
|
| |
|