aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote.h')
-rw-r--r--gdb/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.h b/gdb/remote.h
index f6fb450..b8fdf11 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -28,7 +28,7 @@
FOREVER, wait forever rather than timing out; this is used while
the target is executing user code. */
-extern void getpkt (char *buf, int forever);
+extern void getpkt (char *buf, long sizeof_buf, int forever);
/* Send a packet to the remote machine, with error checking. The data
of the packet is in BUF. The string in BUF can be at most PBUFSIZ