make remote_protocol_features "const"
authorTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 17:58:53 +0000 (17:58 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 14 Aug 2013 17:58:53 +0000 (17:58 +0000)
This is a trivial patch to make remote_protocol_features "const".

* remote.c (remote_protocol_features): Now const.

gdb/ChangeLog
gdb/remote.c

index bde9c2d3769255c53b18b373a74994086c03a35f..c3c28d5e56e627cb11a30274b4b473ee082ec055 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_protocol_features): Now const.
+
 2013-08-14  Tom Tromey  <tromey@redhat.com>
 
        * remote.c (crc32_table, crc32): Remove.
index 47012fef8885dec6d68be946dfdee2febe07b510..9d9aae48837fd6b63fedb247af5de5e7fd6d5082 100644 (file)
@@ -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 },