summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-14 17:58:53 +0000
committerTom Tromey <tromey@redhat.com>2013-08-14 17:58:53 +0000
commit2bbde53811930128df3c8174152d15abd3aa3021 (patch)
treee3d5a34fc0eed57318413ffd145a9b2dde5967a7 /gdb/remote.c
parent061f3a2f5c10eb088048fbd5fb8cb550f6eb102d (diff)
downloadgdb-2bbde53811930128df3c8174152d15abd3aa3021.tar.gz
make remote_protocol_features "const"
This is a trivial patch to make remote_protocol_features "const". * remote.c (remote_protocol_features): Now const.
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 47012fef888..9d9aae48837 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -3963,7 +3963,7 @@ remote_augmented_libraries_svr4_read_feature
rs->augmented_libraries_svr4_read = (support == PACKET_ENABLE);
}
-static struct protocol_feature remote_protocol_features[] = {
+static const struct protocol_feature remote_protocol_features[] = {
{ "PacketSize", PACKET_DISABLE, remote_packet_size, -1 },
{ "qXfer:auxv:read", PACKET_DISABLE, remote_supported_packet,
PACKET_qXfer_auxv },