aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-09-19 11:54:49 -0600
committerTom Tromey <tom@tromey.com>2020-09-19 11:54:51 -0600
commitad7277dab9ffa0f388e6e54d5248792a3f122fdc (patch)
tree3f8990eed44d78135aeb18b504995e54c8a1d7d6 /gdb/symfile.h
parentcb814f2e3062ae3c82bba3baca6450c5e3317e58 (diff)
downloadbinutils-ad7277dab9ffa0f388e6e54d5248792a3f122fdc.zip
binutils-ad7277dab9ffa0f388e6e54d5248792a3f122fdc.tar.gz
binutils-ad7277dab9ffa0f388e6e54d5248792a3f122fdc.tar.bz2
Use gdb_bfd_sections in symfile.c
This changes some functions in symfile.c to avoid bfd_map_over_sections, in favor of iteration. Some helper types can also be removed due to this change. gdb/ChangeLog 2020-09-19 Tom Tromey <tom@tromey.com> * symfile.h: (find_lowest_section): Don't declare. * symfile.c (find_lowest_section): Now static. Change parameters. (struct place_section_arg): Remove. (place_section): Change parameters. (addr_info_make_relative): Use foreach. (symfile_dummy_outputs): Remove. (default_symfile_relocate): Use foreach.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 756f34c..ae29451 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -474,8 +474,6 @@ extern bool auto_solib_add;
extern void set_initial_language (void);
-extern void find_lowest_section (bfd *, asection *, void *);
-
extern gdb_bfd_ref_ptr symfile_bfd_open (const char *);
extern int get_section_index (struct objfile *, const char *);