aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;