122 #include <sys/signal.h>
137 #include "debug/GDBAcc.hh"
138 #include "debug/GDBMisc.hh"
145 using namespace AlphaISA;
159 panic(
"acc function needs to be rewritten for SE mode\n");
169 DPRINTF(GDBAcc,
"acc: Mapping is valid K0SEG <= "
170 "%#x < K0SEG + size\n", va);
173 DPRINTF(GDBAcc,
"acc: Mapping invalid %#x "
174 "> K0SEG + size\n", va);
187 if (
PcPAL(va) || va < 0x10000)
194 DPRINTF(GDBAcc,
"acc: %#x pte is invalid\n", va);
198 }
while (va < last_va);
200 DPRINTF(GDBAcc,
"acc: %#x mapping is valid\n", va);
207 DPRINTF(GDBAcc,
"getRegs in remotegdb \n");
212 for (
int i = 0;
i < 32; ++
i)
215 for (
int i = 0;
i < 32; ++
i)
219 for (
int i = 0;
i < 32; ++
i)
230 DPRINTF(GDBAcc,
"setRegs in remotegdb \n");
233 for (
int i = 0;
i < 32; ++
i) {
237 for (
int i = 0;
i < 32; ++
i) {
268 warn_once(
"Breakpoints do not work in Alpha PAL mode.\n"
269 " See PCEventQueue::doService() in cpu/pc_event.cc.\n");
void setRegs(ThreadContext *) const
bool write(Addr addr, size_t size, const char *data)
const int reg_redir[NumIntRegs]
virtual MiscReg readMiscRegNoEffect(int misc_reg) const =0
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
virtual void setIntReg(int reg_idx, uint64_t val)=0
virtual FloatRegBits readFloatRegBits(int reg_idx)=0
virtual TheISA::PCState pcState()=0
ThreadContext is the external interface to all thread state for anything outside of the CPU...
Concrete subclasses of this abstract class represent how the register values are transmitted on the w...
const int NumFloatArchRegs
virtual void setFloatRegBits(int reg_idx, FloatRegBits val)=0
virtual PortProxy & getPhysProxy()=0
virtual uint64_t readIntReg(int reg_idx)=0
void getRegs(ThreadContext *)
BaseGdbRegCache * gdbRegs()
PageTableEntry kernel_pte_lookup(PortProxy &mem, Addr ptbr, VAddr vaddr)
Addr TruncPage(Addr addr)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual bool write(Addr addr, size_t size, const char *data)
Addr memSize() const
Amount of physical memory that exists.
bool acc(Addr addr, size_t len)
struct AlphaISA::RemoteGDB::AlphaGdbRegCache::@1 r
void insertHardBreak(Addr addr, size_t len) override
virtual void insertHardBreak(Addr addr, size_t len)
Addr RoundPage(Addr addr)