Code::Blocks
SVN r11506
|
Command which tries to find the current cursor position. More...
#include <gdb_commands.h>
Public Member Functions | |
GdbCmd_FindCursor (GDB_driver *driver) | |
void | ParseOutput (const wxString &output) |
Parses the command's output. More... | |
Public Member Functions inherited from DebuggerCmd | |
DebuggerCmd (DebuggerDriver *driver, const wxString &cmd=_T(""), bool logToNormalLog=false) | |
virtual | ~DebuggerCmd () |
virtual void | Action () |
Executes an action. More... | |
virtual bool | IsContinueCommand () const |
Tells if the command is a continue type command (continue, step, next and run to cursor commands should be marked as such) More... | |
Additional Inherited Members | |
Public Attributes inherited from DebuggerCmd | |
wxString | m_Cmd |
the actual command More... | |
Protected Attributes inherited from DebuggerCmd | |
DebuggerDriver * | m_pDriver |
the driver More... | |
bool | m_LogToNormalLog |
if true, log to normal log, else the debug log More... | |
Command which tries to find the current cursor position.
It is executed if the gdb prompt is detected, but no cursor information is parsed prior it.
Definition at line 1831 of file gdb_commands.h.
|
inline |
Definition at line 1834 of file gdb_commands.h.
References wxT.
|
inlinevirtual |
Parses the command's output.
The | output. This is the full output up to (and including) the prompt. |
Reimplemented from DebuggerCmd.
Definition at line 1839 of file gdb_commands.h.
References _T, Cursor::address, Cursor::changed, Cursor::file, Cursor::function, GetArrayFromString(), DebuggerDriver::GetCursor(), wxRegEx::GetMatch(), Cursor::line, DebuggerCmd::m_pDriver, wxRegEx::Matches(), DebuggerDriver::NotifyCursorChanged(), reDisassemblyInit(), reDisassemblyInitSymbol(), DebuggerDriver::SetCursor(), wxString::ToLong(), and wxString::ToULong().