blob: bfe586335de2cd69e92c89f25fe244b0ebb5bdd6 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.debugger;
using zx;
@discoverable
protocol DebugAgent {
/// Hand the debug agent a socket that connects it to the debugger. This
/// will return ZX_ERR_ALREADY_BOUND if a connection already exists.
Connect(resource struct {
socket zx.handle:SOCKET;
}) -> (struct {
status zx.status;
});
};