class SoftwareBreakpoint
Defined at line 19 of file ../../src/developer/debug/debug_agent/software_breakpoint.h
Public Methods
debug_ipc::BreakpointType Type ()
Defined at line 24 of file ../../src/developer/debug/debug_agent/software_breakpoint.h
bool Installed (zx_koid_t thread_koid)
Software breakpoint is either installed for all threads or no one.
Defined at line 27 of file ../../src/developer/debug/debug_agent/software_breakpoint.h
const DebuggedThread * currently_stepping_over_thread ()
Defined at line 39 of file ../../src/developer/debug/debug_agent/software_breakpoint.h
void SoftwareBreakpoint (Breakpoint * breakpoint, DebuggedProcess * process, uint64_t address)
Defined at line 43 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
void ~SoftwareBreakpoint ()
Defined at line 47 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
void FixupMemoryBlock (debug_ipc::MemoryBlock * block)
virtual picture of memory is needed, this function will replace the replacement from this
breakpoint if it appears in the given block. Otherwise does nothing.
Defined at line 129 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
void EndStepOver (DebuggedThread * thread)
Public ProcessBreakpoint overrides. See ProcessBreakpoint for more details.
Defined at line 159 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
void ExecuteStepOver (DebuggedThread * thread)
Defined at line 146 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
void StepOverCleanup (DebuggedThread * thread)
Defined at line 181 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
debug::Status UninstallFromMemorySpace (ProcessHandle & process)
This must use the specified process handle and not mark the breakpoint as uninstalled. This is
used both by Uninstall() for the normal case, as well as uninstalling breakpoints for forked
processes (which will be a different process than we're recorded as being installed into).
Defined at line 100 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
std::vector<zx_koid_t> CurrentlySuspendedThreads ()
Returns a sorted list of the koids associated with a currently held suspend token.
If a thread has more than one suspend token, it wil appear twice.
Exposed mostly for testing purposes (see process_breakpoint_unittest.cc).
Defined at line 243 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc
bool IsInternalLdSoBreakpoint ()
Returns true if any of the individual breakpoints are marked as is_internal_ld_so().
Defined at line 254 of file ../../src/developer/debug/debug_agent/software_breakpoint.cc