diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
commit | 4efb68b1ad0f40fa002c954c213a516d1e39cfb3 (patch) | |
tree | dd698b5a588dd03316e6d392016860ebd132cef6 /gdb/xcoffread.c | |
parent | *** empty log message *** (diff) | |
download | binutils-gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.gz binutils-gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.bz2 binutils-gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.zip |
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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 56fb9524448..34c506f56e4 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; |