summaryrefslogtreecommitdiff
path: root/src/base/remote_gdb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/remote_gdb.hh')
-rw-r--r--src/base/remote_gdb.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/remote_gdb.hh b/src/base/remote_gdb.hh
index 2ab7a84dd..b3a2b5c60 100644
--- a/src/base/remote_gdb.hh
+++ b/src/base/remote_gdb.hh
@@ -203,11 +203,11 @@ class BaseRemoteGDB
};
protected:
- uint8_t getbyte();
- void putbyte(uint8_t b);
+ bool getbyte(uint8_t &b);
+ bool putbyte(uint8_t b);
int recv(char *data, int len);
- void send(const char *data);
+ ssize_t send(const char *data);
protected:
// Machine memory