aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-21 17:01:55 -0600
committerTom Tromey <tromey@redhat.com>2014-07-24 11:30:02 -0600
commitbaa336ce7b5d6e56bd52d7493c3f77b0953a7f18 (patch)
treef56b3f9f362650d0e132c9be5edec87b9ad7555a /gdb/remote.h
parent5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d (diff)
downloadgdb-baa336ce7b5d6e56bd52d7493c3f77b0953a7f18.zip
gdb-baa336ce7b5d6e56bd52d7493c3f77b0953a7f18.tar.gz
gdb-baa336ce7b5d6e56bd52d7493c3f77b0953a7f18.tar.bz2
constify remote.c
This does some more constification in remote.c. 2014-07-24 Tom Tromey <tromey@redhat.com> * remote.c (remote_serial_open, print_packet, putpkt) (putpkt_binary): Constify. * remote.h (putpkt): Update.
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);