* symtab.h (struct general_symbol_info) <value.bytes>: Make const.
authorTom Tromey <tromey@redhat.com>
Fri, 12 Apr 2013 14:49:25 +0000 (14:49 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 12 Apr 2013 14:49:25 +0000 (14:49 +0000)
gdb/ChangeLog
gdb/symtab.h

index c903714..418f33a 100644 (file)
@@ -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
index 29a12ff..c735e16 100644 (file)
@@ -116,7 +116,7 @@ struct general_symbol_info
 
     struct block *block;
 
-    gdb_byte *bytes;
+    const gdb_byte *bytes;
 
     CORE_ADDR address;