[roll] Roll fuchsia [debugger] Add cross-platform status.

Currently, the status values have some undesirable properties:
 (1) Some status values are returned via IPC as zx_status_t constants.
     We avoid using zx_status_t in cross-platform code, so these are
     integers. Then the frontend has to interpret these values.
 (2) Sometimes, it's desirable to include a better error message with a
     failure.
 (3) If we port the debug_agent, zx_status_t will not be usable.

Adds a new cross-platform Status structure to deal with these problems.
A zx_status_ and an errno interface are provided. These are
self-describing and also allow custom error messages.

The intent is to replace all zx_status_t in cross-platform code with
this class and also serialize it to the frontend. This currently just
changes the ProcessHandle and its users as a proof-of-concept. When all
users are complete, we should be able to remove the calls to
Status::platform_error().

This uses the "debug" namespace. "debug_ipc" is ugly and annoying to
type, and doesn't even make any sense in the shared/ directory. We
could have "debug_shared" or "debug::shared", but that seems
unnecessarily long. I'm thinking we should convert everything in shared/
to "debug".

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/551889
Original-Revision: 50abb4de95f9effb70c2eccc9603cd9577da148b
GitOrigin-RevId: e9de9eb35367b4a45079f28614fd7c312d1ebb9e
Change-Id: I8967b77ad0deabf142a66c06ef4d7f1a2e1e6102
1 file changed
tree: 125c7ebb052a0f7b09df0a5608a4867e265694db
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.