mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
603 B
C
31 lines
603 B
C
/*
|
|
* QEMU breakpoint & watchpoint definitions
|
|
*
|
|
* Copyright (c) 2012 SUSE LINUX Products GmbH
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#ifndef EXEC_BREAKPOINT_H
|
|
#define EXEC_BREAKPOINT_H
|
|
|
|
#include "qemu/queue.h"
|
|
#include "exec/vaddr.h"
|
|
#include "exec/memattrs.h"
|
|
|
|
typedef struct CPUBreakpoint {
|
|
vaddr pc;
|
|
int flags; /* BP_* */
|
|
QTAILQ_ENTRY(CPUBreakpoint) entry;
|
|
} CPUBreakpoint;
|
|
|
|
typedef struct CPUWatchpoint {
|
|
vaddr vaddr;
|
|
vaddr len;
|
|
vaddr hitaddr;
|
|
MemTxAttrs hitattrs;
|
|
int flags; /* BP_* */
|
|
QTAILQ_ENTRY(CPUWatchpoint) entry;
|
|
} CPUWatchpoint;
|
|
|
|
#endif
|