GDBserver
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
aarch64-linux-hw-point.h File Reference
#include "gdbsupport/break-common.h"
#include "nat/aarch64-hw-point.h"

Go to the source code of this file.

Classes

struct  arch_lwp_info
 

Macros

#define AARCH64_DEBUG_NUM_SLOTS(x)   ((x) & 0xff)
 
#define AARCH64_DEBUG_ARCH(x)   (((x) >> 8) & 0xff)
 
#define DR_MARK_ALL_CHANGED(x, m)
 
#define DR_MARK_N_CHANGED(x, n)
 
#define DR_CLEAR_CHANGED(x)
 
#define DR_HAS_CHANGED(x)   ((x) != 0)
 
#define DR_N_HAS_CHANGED(x, n)   ((x) & ((dr_changed_t)1 << (n)))
 

Typedefs

typedef ULONGEST dr_changed_t
 

Functions

void aarch64_linux_set_debug_regs (struct aarch64_debug_reg_state *state, int tid, int watchpoint)
 
void aarch64_linux_get_debug_reg_capacity (int tid)
 
struct aarch64_debug_reg_stateaarch64_get_debug_reg_state (pid_t pid)
 

Variables

bool kernel_supports_any_contiguous_range
 

Macro Definition Documentation

◆ AARCH64_DEBUG_ARCH

#define AARCH64_DEBUG_ARCH ( x)    (((x) >> 8) & 0xff)

Definition at line 36 of file aarch64-linux-hw-point.h.

Referenced by aarch64_linux_get_debug_reg_capacity().

◆ AARCH64_DEBUG_NUM_SLOTS

#define AARCH64_DEBUG_NUM_SLOTS ( x)    ((x) & 0xff)

Definition at line 35 of file aarch64-linux-hw-point.h.

Referenced by aarch64_linux_get_debug_reg_capacity().

◆ DR_CLEAR_CHANGED

#define DR_CLEAR_CHANGED ( x)
Value:
do \
{ \
(x) = 0; \
} while (0)

Definition at line 76 of file aarch64-linux-hw-point.h.

Referenced by aarch64_linux_prepare_to_resume().

◆ DR_HAS_CHANGED

#define DR_HAS_CHANGED ( x)    ((x) != 0)

Definition at line 82 of file aarch64-linux-hw-point.h.

Referenced by aarch64_linux_prepare_to_resume().

◆ DR_MARK_ALL_CHANGED

#define DR_MARK_ALL_CHANGED ( x,
m )
Value:
do \
{ \
gdb_assert (sizeof ((x)) * 8 >= (m)); \
(x) = (((dr_changed_t)1 << (m)) - 1); \
} while (0)
ULONGEST dr_changed_t

Definition at line 63 of file aarch64-linux-hw-point.h.

Referenced by aarch64_linux_new_thread().

◆ DR_MARK_N_CHANGED

#define DR_MARK_N_CHANGED ( x,
n )
Value:
do \
{ \
(x) |= ((dr_changed_t)1 << (n)); \
} while (0)

Definition at line 70 of file aarch64-linux-hw-point.h.

Referenced by debug_reg_change_callback().

◆ DR_N_HAS_CHANGED

#define DR_N_HAS_CHANGED ( x,
n )   ((x) & ((dr_changed_t)1 << (n)))

Definition at line 83 of file aarch64-linux-hw-point.h.

Typedef Documentation

◆ dr_changed_t

typedef ULONGEST dr_changed_t

Definition at line 59 of file aarch64-linux-hw-point.h.

Function Documentation

◆ aarch64_get_debug_reg_state()

struct aarch64_debug_reg_state * aarch64_get_debug_reg_state ( pid_t pid)

◆ aarch64_linux_get_debug_reg_capacity()

void aarch64_linux_get_debug_reg_capacity ( int tid)

◆ aarch64_linux_set_debug_regs()

void aarch64_linux_set_debug_regs ( struct aarch64_debug_reg_state * state,
int tid,
int watchpoint )

Variable Documentation

◆ kernel_supports_any_contiguous_range

bool kernel_supports_any_contiguous_range
extern

Definition at line 39 of file aarch64-linux-hw-point.c.

Referenced by aarch64_linux_set_debug_regs().