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

Command to obtain register info. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_InfoRegisters:
Collaboration diagram for GdbCmd_InfoRegisters:

Public Member Functions

 GdbCmd_InfoRegisters (DebuggerDriver *driver, wxString disassemblyFlavor=wxEmptyString)
 
void ParseOutput (const wxString &output)
 Parses the command's output. More...
 
void ParseOutputFromOR32gdbPort (const wxString &output)
 
- 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

wxString m_disassemblyFlavor
 

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 obtain register info.

Definition at line 1263 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_InfoRegisters()

GdbCmd_InfoRegisters::GdbCmd_InfoRegisters ( DebuggerDriver *  driver,
wxString  disassemblyFlavor = wxEmptyString 
)
inline
Parameters
dlgThe disassembly dialog.

Definition at line 1271 of file gdb_commands.h.

References _T, and DebuggerCmd::m_Cmd.

Member Function Documentation

◆ ParseOutput()

void GdbCmd_InfoRegisters::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 1278 of file gdb_commands.h.

References _T, Manager::Get(), GetArrayFromString(), wxArrayString::GetCount(), DebuggerManager::GetCPURegistersDialog(), Manager::GetDebuggerManager(), wxRegEx::GetMatch(), wxRegEx::Matches(), reRegisters(), and cbCPURegistersDlg::SetRegisterValue().

◆ ParseOutputFromOR32gdbPort()

void GdbCmd_InfoRegisters::ParseOutputFromOR32gdbPort ( const wxString &  output)
inline

Member Data Documentation

◆ m_disassemblyFlavor

wxString GdbCmd_InfoRegisters::m_disassemblyFlavor
private

Definition at line 1265 of file gdb_commands.h.


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