Code::Blocks  SVN r11506
Public Member Functions | List of all members
GdbCmd_InfoProgram Class Reference

Command to get info about current program and state. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_InfoProgram:
Collaboration diagram for GdbCmd_InfoProgram:

Public Member Functions

 GdbCmd_InfoProgram (DebuggerDriver *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
DebuggerDriverm_pDriver
 the driver More...
 
bool m_LogToNormalLog
 if true, log to normal log, else the debug log More...
 

Detailed Description

Command to get info about current program and state.

Definition at line 705 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_InfoProgram()

GdbCmd_InfoProgram::GdbCmd_InfoProgram ( DebuggerDriver driver)
inline

Definition at line 708 of file gdb_commands.h.

References _T, and DebuggerCmd::m_Cmd.

Member Function Documentation

◆ ParseOutput()

void GdbCmd_InfoProgram::ParseOutput ( const wxString output)
inlinevirtual

Parses the command's output.

Parameters
Theoutput. This is the full output up to (and including) the prompt.

Reimplemented from DebuggerCmd.

Definition at line 713 of file gdb_commands.h.

References wxRegEx::GetMatch(), wxString::IsEmpty(), DebuggerCmd::m_pDriver, wxRegEx::Matches(), reInfoProgramProcess(), reInfoProgramThread(), DebuggerDriver::SetChildPID(), and wxString::ToLong().


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