blob: 00332fff846f6cfbd191f96c9a5edefb3270eaff [file] [log] [blame] [edit]
// 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;
});
};