Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
GdbCmd_ChangeFrame Class Reference

Command to change the current frame. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_ChangeFrame:
Collaboration diagram for GdbCmd_ChangeFrame:

Public Member Functions

int AddrChgMode ()
 
 GdbCmd_ChangeFrame (DebuggerDriver *driver, int frameno, int p_addrchgmode=1)
 
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...
 

Private Attributes

int m_addrchgmode
 

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...
 

Detailed Description

Command to change the current frame.

Exists so GDB_driver::ParseOutput() can detect changeframe vs breakpoint output and avoid undesired part of breakpoint processing.

Definition at line 1104 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_ChangeFrame()

GdbCmd_ChangeFrame::GdbCmd_ChangeFrame ( DebuggerDriver *  driver,
int  frameno,
int  p_addrchgmode = 1 
)
inline

Definition at line 1109 of file gdb_commands.h.

References _T, and DebuggerCmd::m_Cmd.

Member Function Documentation

◆ AddrChgMode()

int GdbCmd_ChangeFrame::AddrChgMode ( )
inline

Definition at line 1108 of file gdb_commands.h.

Referenced by GDB_driver::ParseOutput().

◆ ParseOutput()

void GdbCmd_ChangeFrame::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 1115 of file gdb_commands.h.

References DebuggerDriver::Log(), and DebuggerCmd::m_pDriver.

Member Data Documentation

◆ m_addrchgmode

int GdbCmd_ChangeFrame::m_addrchgmode
private

Definition at line 1106 of file gdb_commands.h.


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