aboutsummaryrefslogtreecommitdiff
path: root/gdb/machoread.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/machoread.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/machoread.c')
-rw-r--r--gdb/machoread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 18cd04a..9877f07 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -968,7 +968,7 @@ macho_symfile_finish (struct objfile *objfile)
static void
macho_symfile_offsets (struct objfile *objfile,
- struct section_addr_info *addrs)
+ const struct section_addr_info *addrs)
{
unsigned int i;
unsigned int num_sections;