133 #include <sys/signal.h>
139 #include "arch/mips/gdb-xml/gdb_xml_mips.hh"
144 #include "debug/GDBAcc.hh"
145 #include "debug/GDBMisc.hh"
152 using namespace MipsISA;
155 : BaseRemoteGDB(_system, _port), regCache(this)
168 return context()->getProcessPtr()->pTable->lookup(
va) !=
nullptr;
174 DPRINTF(GDBAcc,
"getregs in remotegdb \n");
176 for (
int i = 0;
i < 32;
i++)
184 for (
int i = 0;
i < 32;
i++)
193 DPRINTF(GDBAcc,
"setregs in remotegdb \n");
195 for (
int i = 1;
i < 32;
i++)
203 for (
int i = 0;
i < 32;
i++)
216 RemoteGDB::getXferFeaturesRead(
const std::string &annex, std::string &
output)
218 #define GDB_XML(x, s) \
219 { x, std::string(reinterpret_cast<const char *>(Blobs::s), \
221 static const std::map<std::string, std::string> annexMap {
222 GDB_XML(
"target.xml", gdb_xml_mips),
225 auto it = annexMap.find(annex);
226 if (it == annexMap.end())
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
RemoteGDB(System *_system, int _port)
Addr instAddr() const
Returns the memory address of the instruction this PC points to.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
virtual RegVal getReg(const RegId ®) const
virtual void setMiscRegNoEffect(RegIndex misc_reg, RegVal val)=0
virtual const PCStateBase & pcState() const =0
virtual void setReg(const RegId ®, RegVal val)
virtual RegVal readMiscRegNoEffect(RegIndex misc_reg) const =0
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
constexpr RegClass intRegClass
constexpr RegClass floatRegClass
std::ostream & output()
Get the ostream from the current global logger.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
Declarations of a non-full system Page Table.