aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-04-12 14:49:25 +0000
committerTom Tromey <tromey@redhat.com>2013-04-12 14:49:25 +0000
commitd47a1bc1fa7038bb17b1ac20d7dc92af702cb9e4 (patch)
treecf674a9d2f7696548f06e8bebbe5c9084c9c6b6b /gdb
parentdccca75d8053c3c99965478ee2e667ad9e8e0812 (diff)
downloadgdb-d47a1bc1fa7038bb17b1ac20d7dc92af702cb9e4.zip
gdb-d47a1bc1fa7038bb17b1ac20d7dc92af702cb9e4.tar.gz
gdb-d47a1bc1fa7038bb17b1ac20d7dc92af702cb9e4.tar.bz2
* symtab.h (struct general_symbol_info) <value.bytes>: Make const.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c903714..418f33a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-12 Tom Tromey <tromey@redhat.com>
+
+ * symtab.h (struct general_symbol_info) <value.bytes>: Make const.
+
2013-04-12 Eli Zaretskii <eliz@gnu.org>
* top.c (print_gdb_configuration): New function, displays the
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 29a12ff..c735e16 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -116,7 +116,7 @@ struct general_symbol_info
struct block *block;
- gdb_byte *bytes;
+ const gdb_byte *bytes;
CORE_ADDR address;