aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.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/xcoffread.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/xcoffread.c')
-rw-r--r--gdb/xcoffread.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 48b6935..a9ce667 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -220,9 +220,6 @@ static void xcoff_new_init (struct objfile *);
static void xcoff_symfile_finish (struct objfile *);
-static void xcoff_symfile_offsets (struct objfile *,
- struct section_addr_info *addrs);
-
static char *coff_getfilename (union internal_auxent *, struct objfile *);
static void read_symbol (struct internal_syment *, int);
@@ -3038,7 +3035,7 @@ xcoff_initial_scan (struct objfile *objfile, int symfile_flags)
static void
xcoff_symfile_offsets (struct objfile *objfile,
- struct section_addr_info *addrs)
+ const struct section_addr_info *addrs)
{
const char *first_section_name;