openMSX
|
#include <Debugger.hh>
Public Member Functions | |
Debugger (MSXMotherBoard &motherBoard) | |
Debugger (const Debugger &)=delete | |
Debugger (Debugger &&)=delete | |
Debugger & | operator= (const Debugger &)=delete |
Debugger & | operator= (Debugger &&)=delete |
~Debugger () | |
void | registerDebuggable (std::string name, Debuggable &debuggable) |
void | unregisterDebuggable (std::string_view name, Debuggable &debuggable) |
Debuggable * | findDebuggable (std::string_view name) |
const auto & | getDebuggables () const |
void | registerProbe (ProbeBase &probe) |
void | unregisterProbe (ProbeBase &probe) |
ProbeBase * | findProbe (std::string_view name) |
unsigned | setWatchPoint (TclObject command, TclObject condition, WatchPoint::Type type, unsigned beginAddr, unsigned endAddr, bool once, unsigned newId=-1) |
void | removeProbeBreakPoint (ProbeBreakPoint &bp) |
void | setCPU (MSXCPU *cpu_) |
void | transfer (Debugger &other) |
MSXMotherBoard & | getMotherBoard () |
Definition at line 25 of file Debugger.hh.
|
explicit |
Definition at line 39 of file Debugger.cc.
|
delete |
|
delete |
openmsx::Debugger::~Debugger | ( | ) |
Definition at line 47 of file Debugger.cc.
Debuggable * openmsx::Debugger::findDebuggable | ( | std::string_view | name | ) |
Definition at line 66 of file Debugger.cc.
References lookup().
Referenced by openmsx::DebuggableEditor::paint().
ProbeBase * openmsx::Debugger::findProbe | ( | std::string_view | name | ) |
Definition at line 93 of file Debugger.cc.
Referenced by transfer().
|
inline |
Definition at line 38 of file Debugger.hh.
|
inline |
Definition at line 54 of file Debugger.hh.
void openmsx::Debugger::registerDebuggable | ( | std::string | name, |
Debuggable & | debuggable | ||
) |
Definition at line 53 of file Debugger.cc.
Referenced by openmsx::RomDebuggable::RomDebuggable(), and openmsx::SimpleDebuggable::SimpleDebuggable().
void openmsx::Debugger::registerProbe | ( | ProbeBase & | probe | ) |
Definition at line 81 of file Debugger.cc.
References openmsx::ProbeBase::getName().
Referenced by openmsx::ProbeBase::ProbeBase().
void openmsx::Debugger::removeProbeBreakPoint | ( | ProbeBreakPoint & | bp | ) |
Definition at line 149 of file Debugger.cc.
References openmsx::CliComm::DEBUG_UPDT, openmsx::ProbeBreakPoint::getId(), openmsx::MSXMotherBoard::getMSXCliComm(), move_pop_back(), rfind_unguarded(), tmpStrCat(), and openmsx::MSXCliComm::update().
|
inline |
Definition at line 50 of file Debugger.hh.
Referenced by openmsx::MSXCPU::MSXCPU(), and openmsx::MSXCPU::~MSXCPU().
unsigned openmsx::Debugger::setWatchPoint | ( | TclObject | command, |
TclObject | condition, | ||
WatchPoint::Type | type, | ||
unsigned | beginAddr, | ||
unsigned | endAddr, | ||
bool | once, | ||
unsigned | newId = -1 |
||
) |
Definition at line 157 of file Debugger.cc.
References openmsx::MSXMotherBoard::getCPUInterface(), openmsx::WatchPoint::READ_IO, openmsx::MSXCPUInterface::setWatchPoint(), and openmsx::WatchPoint::WRITE_IO.
Referenced by transfer().
void openmsx::Debugger::transfer | ( | Debugger & | other | ) |
Definition at line 175 of file Debugger.cc.
References findProbe(), openmsx::MSXMotherBoard::getCPUInterface(), openmsx::MSXCPUInterface::getWatchPoints(), and setWatchPoint().
void openmsx::Debugger::unregisterDebuggable | ( | std::string_view | name, |
Debuggable & | debuggable | ||
) |
Definition at line 59 of file Debugger.cc.
Referenced by openmsx::RomDebuggable::~RomDebuggable(), and openmsx::SimpleDebuggable::~SimpleDebuggable().
void openmsx::Debugger::unregisterProbe | ( | ProbeBase & | probe | ) |
Definition at line 87 of file Debugger.cc.
References openmsx::ProbeBase::getName().
Referenced by openmsx::ProbeBase::~ProbeBase().