Home
last modified time | relevance | path

Searched refs:trap_opcode_size (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointSite.cpp105 uint32_t trap_opcode_size) { in SetTrapOpcode() argument
106 if (trap_opcode_size > 0 && trap_opcode_size <= sizeof(m_trap_opcode)) { in SetTrapOpcode()
107 m_byte_size = trap_opcode_size; in SetTrapOpcode()
108 ::memcpy(m_trap_opcode, trap_opcode, trap_opcode_size); in SetTrapOpcode()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Windows/
H A DPlatformWindows.cpp573 size_t trap_opcode_size = 0; in GetSoftwareBreakpointTrapOpcode() local
579 trap_opcode_size = sizeof(g_aarch64_opcode); in GetSoftwareBreakpointTrapOpcode()
581 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
582 return trap_opcode_size; in GetSoftwareBreakpointTrapOpcode()
590 trap_opcode_size = sizeof(g_thumb_opcode); in GetSoftwareBreakpointTrapOpcode()
592 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
593 return trap_opcode_size; in GetSoftwareBreakpointTrapOpcode()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DPlatform.cpp1836 size_t trap_opcode_size = 0; in GetSoftwareBreakpointTrapOpcode() local
1843 trap_opcode_size = sizeof(g_aarch64_opcode); in GetSoftwareBreakpointTrapOpcode()
1849 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
1871 trap_opcode_size = sizeof(g_thumb_breakpoint_opcode); in GetSoftwareBreakpointTrapOpcode()
1874 trap_opcode_size = sizeof(g_arm_breakpoint_opcode); in GetSoftwareBreakpointTrapOpcode()
1881 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
1888 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
1895 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
1901 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
1907 trap_opcode_size = sizeof(g_hex_opcode); in GetSoftwareBreakpointTrapOpcode()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp417 uint32_t trap_opcode_size = 0; in GetSoftwareBreakpointTrapOpcode() local
427 trap_opcode_size = sizeof(g_arm64_breakpoint_opcode); in GetSoftwareBreakpointTrapOpcode()
446 trap_opcode_size = sizeof(g_thumb_breakpooint_opcode); in GetSoftwareBreakpointTrapOpcode()
450 trap_opcode_size = sizeof(g_arm_breakpoint_opcode); in GetSoftwareBreakpointTrapOpcode()
457 trap_opcode_size = sizeof(g_ppc_breakpoint_opcode); in GetSoftwareBreakpointTrapOpcode()
464 if (trap_opcode && trap_opcode_size) { in GetSoftwareBreakpointTrapOpcode()
465 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
466 return trap_opcode_size; in GetSoftwareBreakpointTrapOpcode()
/openbsd-src/gnu/llvm/lldb/include/lldb/Breakpoint/
H A DBreakpointSite.h62 bool SetTrapOpcode(const uint8_t *trap_opcode, uint32_t trap_opcode_size);