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.
This commit is contained in:
Andrew Cagney
2003-11-06 02:52:28 +00:00
parent 2fe4e8d0d9
commit 7be0c53637
18 changed files with 45 additions and 75 deletions

View File

@ -57,8 +57,6 @@ void (*file_changed_hook) (char *);
/* Prototypes for local functions */
static void add_to_section_table (bfd *, sec_ptr, void *);
static void exec_close (int);
static void file_command (char *, int);
@ -67,8 +65,6 @@ static void set_section_command (char *, int);
static void exec_files_info (struct target_ops *);
static void bfdsec_to_vmap (bfd *, sec_ptr, void *);
static int ignore (CORE_ADDR, char *);
static void init_exec_ops (void);
@ -338,7 +334,8 @@ file_command (char *arg, int from_tty)
we cast it back to its proper type. */
static void
add_to_section_table (bfd *abfd, sec_ptr asect, void *table_pp_char)
add_to_section_table (bfd *abfd, struct bfd_section *asect,
void *table_pp_char)
{
struct section_table **table_pp = (struct section_table **) table_pp_char;
flagword aflag;
@ -359,7 +356,7 @@ add_to_section_table (bfd *abfd, sec_ptr asect, void *table_pp_char)
Returns 0 if OK, 1 on error. */
int
build_section_table (bfd *some_bfd, struct section_table **start,
build_section_table (struct bfd *some_bfd, struct section_table **start,
struct section_table **end)
{
unsigned count;
@ -377,7 +374,7 @@ build_section_table (bfd *some_bfd, struct section_table **start,
}
static void
bfdsec_to_vmap (bfd *abfd, sec_ptr sect, void *arg3)
bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
{
struct vmap_and_bfd *vmap_bfd = (struct vmap_and_bfd *) arg3;
struct vmap *vp;