aboutsummaryrefslogtreecommitdiff
path: root/gdbstub/internals.h
blob: 41e2e72dbf7f7222320ba7a47f464ffb60afe7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * gdbstub internals
 *
 * Copyright (c) 2022 Linaro Ltd
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef _INTERNALS_H_
#define _INTERNALS_H_

int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len);
int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len);
void gdb_breakpoint_remove_all(CPUState *cs);

#endif /* _INTERNALS_H_ */