commit | b308e02da961f5d7a1eb392524ccf08be9635784 | [log] [tgz] |
---|---|---|
author | Brett Wilson <brettw@google.com> | Thu Jul 09 18:12:52 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jul 09 18:12:52 2020 +0000 |
tree | 080bbe6f27acdcd48562ff3c08f79bfd1d5e22f7 | |
parent | 08958e8cce80cd1208f572fb6e26c282be3da38d [diff] |
[debugger] Add to process handle extraction. Converts the unwinder to using the ThreadHandle and ProcessHandle abstractions. Converts thread state to a new class to allow this to be abtracted better. Removes the process_info file and moves the ELF utilities from there into a new file. This new file now uses the ProcessHandle abstractions which will allow the module extration to be tested in the future, although there are still no tests for this older code. Creates a new GeneralRegisters container to provide cross-architecture accesors for the important registers. Use this when relevant and move the getter/setters of the general registers from the ArchProvider to the ThreadHandle. Updates changed function signatures to prefer to return values rather than use out params, and use references rather than pointers for out params (as specified by updated style guide). Change-Id: I3e64b760b134b1ed74e2f3aa6aed6b0c1bbadf5d Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404359 Testability-Review: Brett Wilson <brettw@google.com> Commit-Queue: Brett Wilson <brettw@google.com> Reviewed-by: Dangyi Liu <dangyi@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.