Increase gdb receive buffer.
[riscv-isa-sim.git] / riscv / gdbserver.h
index 0ed8881304680598f76432ed01d2779948ca330d..f5a00f345c8b7a59430d03bdc19078084557cafa 100644 (file)
@@ -25,6 +25,7 @@ public:
   unsigned int size() const;
   bool empty() const { return start == end; }
   bool full() const { return ((end+1) % capacity) == start; }
+  T entry(unsigned index) { return data[(start + index) % capacity]; }
 
   // Return size and address of the block of RAM where more data can be copied
   // to be added to the buffer.