aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-18 15:55:53 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-18 15:55:53 +0000
commit4efb68b1ad0f40fa002c954c213a516d1e39cfb3 (patch)
treedd698b5a588dd03316e6d392016860ebd132cef6 /gdb/xcoffread.c
parent88e90c405f7b96dc90b19bde321f219e129e7e1c (diff)
downloadgdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.zip
gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.gz
gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.bz2
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.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 56fb952..34c506f 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -193,7 +193,7 @@ 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, PTR);
+static void find_linenos (bfd *, sec_ptr, void *);
static char *coff_getfilename (union internal_auxent *, struct objfile *);
@@ -237,7 +237,7 @@ struct find_targ_sec_arg
static void find_targ_sec (bfd *, asection *, void *);
static void
-find_targ_sec (bfd *abfd, asection *sect, PTR obj)
+find_targ_sec (bfd *abfd, asection *sect, void *obj)
{
struct find_targ_sec_arg *args = (struct find_targ_sec_arg *) obj;
struct objfile *objfile = args->objfile;
@@ -1699,7 +1699,7 @@ gotit:
* mainline code can read the whole thing for efficiency.
*/
static void
-find_linenos (bfd *abfd, sec_ptr asect, PTR vpinfo)
+find_linenos (bfd *abfd, sec_ptr asect, void *vpinfo)
{
struct coff_symfile_info *info;
int size, count;
@@ -2554,7 +2554,7 @@ scan_xcoff_symtab (struct objfile *objfile)
psymtab_include_list = (char **)
alloca ((includes_allocated *= 2) *
sizeof (char *));
- memcpy ((PTR) psymtab_include_list, (PTR) orig,
+ memcpy (psymtab_include_list, orig,
includes_used * sizeof (char *));
}
continue;