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

Command to the attach to a process. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_AttachToProcess:
Collaboration diagram for GdbCmd_AttachToProcess:

Public Member Functions

 GdbCmd_AttachToProcess (DebuggerDriver *driver, int pid)
 
void ParseOutput (const wxString &output)
 Parses the command's output. More...
 
bool IsContinueCommand () const override
 Tells if the command is a continue type command (continue, step, next and run to cursor commands should be marked as such) 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...
 

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 the attach to a process.

Definition at line 318 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_AttachToProcess()

GdbCmd_AttachToProcess::GdbCmd_AttachToProcess ( DebuggerDriver driver,
int  pid 
)
inline
Parameters
fileThe file to debug.

Definition at line 322 of file gdb_commands.h.

References _(), _T, wxString::Format(), DebuggerDriver::Log(), DebuggerCmd::m_Cmd, and DebuggerCmd::m_pDriver.

Member Function Documentation

◆ IsContinueCommand()

bool GdbCmd_AttachToProcess::IsContinueCommand ( ) const
inlineoverridevirtual

Tells if the command is a continue type command (continue, step, next and run to cursor commands should be marked as such)

Returns
true if the command is continue type command

Reimplemented from DebuggerCmd.

Definition at line 352 of file gdb_commands.h.

◆ ParseOutput()

void GdbCmd_AttachToProcess::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 328 of file gdb_commands.h.

References _(), _T, DebuggerCmd::DebuggerCmd(), GetArrayFromString(), wxArrayString::GetCount(), DebuggerDriver::Log(), DebuggerCmd::m_pDriver, DebuggerDriver::MarkProgramStopped(), DebuggerDriver::QueueCommand(), and wxT.


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