* 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 c903714cdfdd39a6df07c5194bea8dc70637ec9b..418f33a5a7bbac85bcc18309e7f93738caae83b6 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 29a12ff5fe977e0a1254069d8fd14b221364c5c4..c735e16295b4371886c0c216794313b82d99a695 100644 (file)
@@ -116,7 +116,7 @@ struct general_symbol_info
 
     struct block *block;
 
-    gdb_byte *bytes;
+    const gdb_byte *bytes;
 
     CORE_ADDR address;