LLDB mainline
lldb_private::AcceleratorBreakpointInfo Struct Reference

A breakpoint definition. More...

#include <AcceleratorGDBRemotePackets.h>

Public Attributes

int64_t identifier = 0
 Unique breakpoint ID used to identify this breakpoint in the BreakpointWasHit callback.
std::optional< AcceleratorBreakpointByNameby_name
 Breakpoint by function name.
std::optional< AcceleratorBreakpointByAddressby_address
 Breakpoint by load address.
std::vector< std::string > symbol_names
 Symbol names whose values should be supplied when the breakpoint is hit.

Detailed Description

A breakpoint definition.

Clients fill in either by_name or by_address. If the breakpoint callback needs symbol values from the native process, fill in symbol_names — those values will be delivered in the breakpoint hit callback.

Definition at line 55 of file AcceleratorGDBRemotePackets.h.

Member Data Documentation

◆ by_address

std::optional<AcceleratorBreakpointByAddress> lldb_private::AcceleratorBreakpointInfo::by_address

◆ by_name

std::optional<AcceleratorBreakpointByName> lldb_private::AcceleratorBreakpointInfo::by_name

◆ identifier

int64_t lldb_private::AcceleratorBreakpointInfo::identifier = 0

Unique breakpoint ID used to identify this breakpoint in the BreakpointWasHit callback.

Definition at line 58 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleAcceleratorBreakpoints(), and lldb_private::toJSON().

◆ symbol_names

std::vector<std::string> lldb_private::AcceleratorBreakpointInfo::symbol_names

Symbol names whose values should be supplied when the breakpoint is hit.

Definition at line 64 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AcceleratorBreakpointHit(), lldb_private::fromJSON(), and lldb_private::toJSON().


The documentation for this struct was generated from the following file: