aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-06 02:52:28 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-06 02:52:28 +0000
commit7be0c536371055e9b15403d88f6149bbd656df37 (patch)
tree8fc23efc4b7690903d4882a3371fe211c1eab07b /gdb/xcoffread.c
parent2fe4e8d0d99f29e11a05ad589fc5fe78a1152da0 (diff)
downloadgdb-7be0c536371055e9b15403d88f6149bbd656df37.zip
gdb-7be0c536371055e9b15403d88f6149bbd656df37.tar.gz
gdb-7be0c536371055e9b15403d88f6149bbd656df37.tar.bz2
2003-11-05 Andrew Cagney <cagney@redhat.com>
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with "struct bfd_section" and "struct bfd". * target.h (struct section_table): Ditto. * rs6000-nat.c (xcoff_relocate_core): Ditto. * solib-svr4.c (elf_locate_base): Ditto. * pa64solib.c (dld_cache_t): Ditto. * objfiles.h (struct obj_section): Ditto. * objfiles.c (add_to_objfile_sections): Ditto. * exec.c (bfdsec_to_vmap): Ditto. (add_to_section_table): Ditto. (build_section_table): Ditto. * corelow.c (get_core_register_section): Ditto. * coffread.c (find_linenos): Ditto. * elfread.c (elf_interpreter): Delete #if0'd function. * mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS. * config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro. * config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro. * config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro. * arch-utils.h (generic_cannot_extract_struct_value_address): Delete declaration. * wince.c (_initialize_wince): Fix multi-line string. * ia64-tdep.c (floatformat_valid): Convert to ISO C.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 243dab8..6183785 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -193,8 +193,6 @@ static void xcoff_symfile_finish (struct objfile *);
static void xcoff_symfile_offsets (struct objfile *,
struct section_addr_info *addrs);
-static void find_linenos (bfd *, sec_ptr, void *);
-
static char *coff_getfilename (union internal_auxent *, struct objfile *);
static void read_symbol (struct internal_syment *, int);
@@ -1699,7 +1697,7 @@ gotit:
* mainline code can read the whole thing for efficiency.
*/
static void
-find_linenos (bfd *abfd, sec_ptr asect, void *vpinfo)
+find_linenos (struct bfd *abfd, struct bfd_section *asect, void *vpinfo)
{
struct coff_symfile_info *info;
int size, count;
@@ -2881,7 +2879,7 @@ xcoff_initial_scan (struct objfile *objfile, int mainline)
/* Read the .debug section, if present. */
{
- sec_ptr secp;
+ struct bfd_section *secp;
bfd_size_type length;
char *debugsec = NULL;