Defines the last debug event (i.e. the reason why the target was stopped) More...
#include <IGDBTarget.h>
Public Attributes | |
TargetStopReason | Reason |
The reason why the target was stopped (e.g. breakpoint or library load event) | |
int | ProcessID |
Specifies the process ID or 0 if not applicable. | |
int | ThreadID |
Specifies the thread ID or 0 if not applicable. | |
union { | |
UnixSignal SignalNumber | |
If Reason == kSignalReceived, contains the UNIX signal number that was received (e.g. SIGTRAP for a breakpoint) | |
int ExitCode | |
If Reason == kProcessExited, contains the exit code of the process. | |
} | Extension |
Detailed Description
Defines the last debug event (i.e. the reason why the target was stopped)
The following list summarizes how the most common debug events are reported: When a breakpoint is hit, the Reason should be kSignalReceived and Extension.SignalNumber should be SIGTRAP. When a single step is complete, the TargetStopRecord should be the same as for a breakpoint. When an invalid pointer is referenced, the Reason should be kSignalReceived and Extension.SignalNumber should be SIGSEGV.
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
Member Data Documentation
int GDBServerFoundation::TargetStopRecord::ExitCode |
If Reason == kProcessExited, contains the exit code of the process.
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
union { ... } GDBServerFoundation::TargetStopRecord::Extension |
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
int GDBServerFoundation::TargetStopRecord::ProcessID |
Specifies the process ID or 0 if not applicable.
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
TargetStopReason GDBServerFoundation::TargetStopRecord::Reason |
The reason why the target was stopped (e.g. breakpoint or library load event)
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
UnixSignal GDBServerFoundation::TargetStopRecord::SignalNumber |
If Reason == kSignalReceived, contains the UNIX signal number that was received (e.g. SIGTRAP for a breakpoint)
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
int GDBServerFoundation::TargetStopRecord::ThreadID |
Specifies the thread ID or 0 if not applicable.
- Examples:
- SimpleWin32Server/SimpleWin32Server.cpp.
The documentation for this struct was generated from the following file: