00001
00158 #ifndef _AC_GDB_INTERFACE_H_
00159 #define _AC_GDB_INTERFACE_H_
00160
00161 #include "archc.H"
00162
00163
00164
00165
00166
00167
00168
00169
00170
00174 class AC_GDB_Interface {
00175 public:
00176
00177
00178
00184 virtual int nRegs() = 0;
00185
00193 virtual ac_word reg_read( int reg ) = 0;
00194
00201 virtual void reg_write( int reg, ac_word value ) = 0;
00202
00203
00204
00205
00206
00214 virtual unsigned char mem_read( unsigned int address ) = 0;
00215
00222 virtual void mem_write( unsigned int address, unsigned char byte ) = 0;
00223 };
00224
00225 #endif