blob: f0057608c1e3b2edaa11e63341d0e2ee53525546 [file] [log] [blame]
// Copyright 2018 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.
#pragma once
#include "src/developer/debug/ipc/records.h"
namespace zxdb {
class Err;
class OutputBuffer;
class Register;
struct FormatRegisterOptions;
// Processed is true if the register belongs to the X64 family, and the output
// was processed by this function.
// |err| should be checked for errors if the result was processed.
bool FormatCategoryX64(const FormatRegisterOptions&,
debug_ipc::RegisterCategory::Type category,
const std::vector<Register>& registers,
OutputBuffer* out, Err* err);
} // namespace zxdb