From d47a1bc1fa7038bb17b1ac20d7dc92af702cb9e4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 12 Apr 2013 14:49:25 +0000 Subject: [PATCH] * symtab.h (struct general_symbol_info) : Make const. --- gdb/ChangeLog | 4 ++++ gdb/symtab.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c903714cdfd..418f33a5a7b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-04-12 Tom Tromey + + * symtab.h (struct general_symbol_info) : Make const. + 2013-04-12 Eli Zaretskii * top.c (print_gdb_configuration): New function, displays the diff --git a/gdb/symtab.h b/gdb/symtab.h index 29a12ff5fe9..c735e16295b 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;