gem5
v19.0.0.0
|
#include <remote_gdb.hh>
Classes | |
class | AlphaGdbRegCache |
Public Member Functions | |
RemoteGDB (System *system, ThreadContext *context, int _port) | |
BaseGdbRegCache * | gdbRegs () override |
![]() | |
bool | breakpoint () |
void | replaceThreadContext (ThreadContext *tc) |
virtual | ~BaseRemoteGDB () |
BaseRemoteGDB (System *system, ThreadContext *context, int _port) | |
virtual | ~BaseRemoteGDB () |
std::string | name () |
void | listen () |
void | connect () |
int | port () const |
void | attach (int fd) |
void | detach () |
bool | isAttached () |
void | replaceThreadContext (ThreadContext *_tc) |
bool | trap (int type) |
bool | breakpoint () |
Protected Member Functions | |
bool | acc (Addr addr, size_t len) override |
![]() | |
ThreadContext * | context () |
System * | system () |
void | encodeBinaryData (const std::string &unencoded, std::string &encoded) const |
void | encodeXferResponse (const std::string &unencoded, std::string &encoded, size_t offset, size_t unencoded_length) const |
virtual bool | checkBpLen (size_t len) |
virtual std::vector< std::string > | availableFeatures () const |
virtual bool | getXferFeaturesRead (const std::string &annex, std::string &output) |
Get an XML target description. More... | |
Definition at line 49 of file remote_gdb.hh.
RemoteGDB::RemoteGDB | ( | System * | system, |
ThreadContext * | context, | ||
int | _port | ||
) |
Definition at line 147 of file remote_gdb.cc.
References warn_once.
Referenced by AlphaISA::RemoteGDB::AlphaGdbRegCache::name().
|
overrideprotectedvirtual |
This code says that all accesses to palcode (instruction and data) are valid since there isn't a va->pa mapping because palcode is accessed physically. At some point this should probably be cleaned up but there is no easy way to do it.
Implements BaseRemoteGDB.
Definition at line 158 of file remote_gdb.cc.
References BaseRemoteGDB::context(), DPRINTF, FullSystem, AlphaISA::IPR_PALtemp20, AlphaISA::IsK0Seg(), AlphaISA::K0SegBase, AlphaISA::kernel_pte_lookup(), AlphaISA::PageBytes, panic, AlphaISA::PcPAL(), ThreadContext::readMiscRegNoEffect(), AlphaISA::RoundPage(), BaseRemoteGDB::system(), AlphaISA::TruncPage(), and AlphaISA::PageTableEntry::valid().
|
overridevirtual |
Implements BaseRemoteGDB.
Definition at line 254 of file remote_gdb.cc.
Referenced by AlphaISA::RemoteGDB::AlphaGdbRegCache::name().