summaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-05-06 19:15:17 +0000
committerDoug Evans <dje@google.com>2013-05-06 19:15:17 +0000
commit3189cb129704a2e7b7a3d338ec5dc80747fb51ba (patch)
tree2446e968568114254b147c2e4843e8f0981bdb85 /gdb/stabsread.h
parenta7bfba49b274e06c468abeff7ca92156c0d72293 (diff)
* dbxread.c (process_one_symbol): Constify section_offsets parameter.
* stabsread.h (process_one_symbol): Update declaration. * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters. * elfread.c (elf_symfile_relocate_probe): Ditto. * psymtab.c (relocate_psymtabs): Ditto. * objfiles.c (objfile_relocate1): Constify new_offsets parameter. (objfile_relocate): Ditto. * objfiles.h (objfile_relocate): Update declaration. * symfile.c (relative_addr_info_to_section_offsets): Constify addrs parameter. (default_symfile_offsets): Ditto. (syms_from_objfile_1): Constify offsets parameter. (syms_from_objfile): Ditto. (symbol_file_add_with_addrs_or_offsets): Ditto. (symfile_map_offsets_to_segments): Constify data parameter. * symfile.h (struct quick_symbol_functions): Constify new_offsets, delta parameters of member relocate. (struct sym_probe_fns): Constify new_offsets, delta parameters of member sym_relocate_probe. (struct sym_fns): Constify section_addr_info parameter of member sym_offsets. (relative_addr_info_to_section_offsets): Update declaration. (default_symfile_offsets): Ditto. (syms_from_objfile): Ditto. (symfile_map_offsets_to_segments): Ditto.
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r--gdb/stabsread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index 9563106501..003fda518e 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -172,7 +172,8 @@ extern struct partial_symtab *end_psymtab (struct objfile *objfile,
int textlow_not_set);
extern void process_one_symbol (int, int, CORE_ADDR, char *,
- struct section_offsets *, struct objfile *);
+ const struct section_offsets *,
+ struct objfile *);
extern void elfstab_build_psymtabs (struct objfile *objfile,
asection *stabsect,