2003-01-18 Andrew Cagney <ac131313@redhat.com>

* ada-valprint.c: Eliminate PTR.
	* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
	* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
	* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
	* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
	* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
	* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
	* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
This commit is contained in:
Andrew Cagney
2003-01-18 15:55:53 +00:00
parent 88e90c405f
commit 4efb68b1ad
31 changed files with 117 additions and 106 deletions

View File

@ -411,7 +411,7 @@ entry_point_address (void)
lowest-addressed loadable section. */
void
find_lowest_section (bfd *abfd, asection *sect, PTR obj)
find_lowest_section (bfd *abfd, asection *sect, void *obj)
{
asection **lowest = (asection **) obj;
@ -648,7 +648,7 @@ syms_from_objfile (struct objfile *objfile, struct section_addr_info *addrs,
lower_sect = bfd_get_section_by_name (objfile->obfd, ".text");
if (lower_sect == NULL)
bfd_map_over_sections (objfile->obfd, find_lowest_section,
(PTR) &lower_sect);
&lower_sect);
if (lower_sect == NULL)
warning ("no loadable sections found in added symbol-file %s",
objfile->name);
@ -2483,11 +2483,11 @@ init_psymbol_list (struct objfile *objfile, int total_symbols)
if (objfile->global_psymbols.list)
{
xmfree (objfile->md, (PTR) objfile->global_psymbols.list);
xmfree (objfile->md, objfile->global_psymbols.list);
}
if (objfile->static_psymbols.list)
{
xmfree (objfile->md, (PTR) objfile->static_psymbols.list);
xmfree (objfile->md, objfile->static_psymbols.list);
}
/* Current best guess is that approximately a twentieth