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 46b73d9..7006346 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -37,7 +37,7 @@ extern void getpkt (char **buf, long *sizeof_buf, int forever);
we are debugging (remote_debug) and want to print the sent packet
as a string. */
-extern int putpkt (char *buf);
+extern int putpkt (const char *buf);
void register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes,
const struct target_desc *tdesc);