aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
commitdc473cfbf9dc7c7b05c7f27c8e65d5f34bc5ed44 (patch)
tree7d5333cacd8c53098472cb91ea79dba17c11dec2 /gdb
parent85ec6ce7d58c48d6474981c428a4f0d92e447173 (diff)
downloadfsf-binutils-gdb-dc473cfbf9dc7c7b05c7f27c8e65d5f34bc5ed44.zip
fsf-binutils-gdb-dc473cfbf9dc7c7b05c7f27c8e65d5f34bc5ed44.tar.gz
fsf-binutils-gdb-dc473cfbf9dc7c7b05c7f27c8e65d5f34bc5ed44.tar.bz2
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bde9c2d..c3c28d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
(remote_verify_memory): Use xcrc32.
diff --git a/gdb/remote.c b/gdb/remote.c
index 47012fe..9d9aae4 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 },