DebugServer2
Loading...
Searching...
No Matches
SoftwareSingleStep.h
1//
2// Copyright (c) 2014-present, Facebook, Inc.
3// All rights reserved.
4//
5// This source code is licensed under the University of Illinois/NCSA Open
6// Source License found in the LICENSE file in the root directory of this
7// source tree. An additional grant of patent rights can be found in the
8// PATENTS file in the same directory.
9//
10
11#pragma once
12
13#include "DebugServer2/Architecture/CPUState.h"
14#include "DebugServer2/Core/BreakpointManager.h"
15#include "DebugServer2/Target/Process.h"
16
17namespace ds2 {
18namespace Architecture {
19namespace ARM {
20
21ErrorCode PrepareThumbSoftwareSingleStep(Target::Process *process, uint32_t pc,
22 Architecture::CPUState const &state,
23 bool &link, uint32_t &nextPC,
24 uint32_t &nextPCSize,
25 uint32_t &branchPC,
26 uint32_t &branchPCSize);
27
28ErrorCode PrepareARMSoftwareSingleStep(Target::Process *process, uint32_t pc,
29 Architecture::CPUState const &state,
30 bool &link, uint32_t &nextPC,
31 uint32_t &nextPCSize, uint32_t &branchPC,
32 uint32_t &branchPCSize);
33
34ErrorCode PrepareSoftwareSingleStep(Target::Process *process,
35 BreakpointManager *manager,
36 CPUState const &state,
37 Address const &address);
38} // namespace ARM
39} // namespace Architecture
40} // namespace ds2
Definition CPUState.h:51