aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-06-11 08:02:48 -0600
committerTom Tromey <tromey@redhat.com>2014-06-18 08:17:00 -0600
commit17a40b44e2aa89d2df08897ea05a42e1afedd06a (patch)
treea1b570cb5f388e97663d8d9f793cad5b2ed5f1da /gdb/symtab.h
parent346d1dfebdbc5b7c8ce7d84f9250cbb8f4ec3e6c (diff)
downloadgdb-17a40b44e2aa89d2df08897ea05a42e1afedd06a.zip
gdb-17a40b44e2aa89d2df08897ea05a42e1afedd06a.tar.gz
gdb-17a40b44e2aa89d2df08897ea05a42e1afedd06a.tar.bz2
make common_block const
This changes general_symbol_info to make "common_block" const. 2014-06-18 Tom Tromey <tromey@redhat.com> * f-valprint.c (info_common_command_for_block): Update. * symtab.h (struct general_symbol_info) <common_block>: Now const.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 5ccc7ec..5a6f831 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -122,7 +122,7 @@ struct general_symbol_info
/* A common block. Used with LOC_COMMON_BLOCK. */
- struct common_block *common_block;
+ const struct common_block *common_block;
/* For opaque typedef struct chain. */