summaryrefslogtreecommitdiff
path: root/gdb_remote.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-02-26 23:20:11 -0800
committerMichael Pavone <pavone@retrodev.com>2017-02-26 23:20:11 -0800
commitd6dc78e713dd4e1858b71e8703ec444b18f444df (patch)
treec51c2f75e235703053fdbd5830e081069fd31dfd /gdb_remote.c
parent619adc31200353a94d3874a8d15ad0de9d19af9b (diff)
Fix direct usage of read rather than GDB_READ in gdb_remote.c
Diffstat (limited to 'gdb_remote.c')
-rw-r--r--gdb_remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb_remote.c b/gdb_remote.c
index 73aa81f..d862124 100644
--- a/gdb_remote.c
+++ b/gdb_remote.c
@@ -517,7 +517,7 @@ m68k_context * gdb_debug_enter(m68k_context * context, uint32_t pc)
memmove(curbuf, buf, end-curbuf);
end -= curbuf - buf;
}
- int numread = read(GDB_IN_FD, end, bufsize - (end-buf));
+ int numread = GDB_READ(GDB_IN_FD, end, bufsize - (end-buf));
end += numread;
curbuf = buf;
}