aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-06 19:38:04 +0000
committerTom Tromey <tromey@redhat.com>2013-05-06 19:38:04 +0000
commit66f65e2b480682001987f8cf58b78577c3e85491 (patch)
tree2e165662c56181159e674b5843ea85007bc3ee72 /gdb/somread.c
parent7919a9734506e499c613ee7a8a88f8e33101f9a9 (diff)
downloadgdb-66f65e2b480682001987f8cf58b78577c3e85491.zip
gdb-66f65e2b480682001987f8cf58b78577c3e85491.tar.gz
gdb-66f65e2b480682001987f8cf58b78577c3e85491.tar.bz2
* somread.c (som_symfile_offsets): Add 'const' to addrs.
* machoread.c (macho_symfile_offsets): Add 'const' to addrs. * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs. Remove declaration.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index 7772f9f..db6c4d4 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -487,7 +487,8 @@ set_section_index (struct objfile *objfile, flagword invert, flagword flags,
Plain and simple for now. */
static void
-som_symfile_offsets (struct objfile *objfile, struct section_addr_info *addrs)
+som_symfile_offsets (struct objfile *objfile,
+ const struct section_addr_info *addrs)
{
int i;
CORE_ADDR text_addr;