* mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 3 Oct 1993 01:50:53 +0000 (01:50 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 3 Oct 1993 01:50:53 +0000 (01:50 +0000)
4.02 lacks void *.
* elfread.c: Use void * not PTR inside PARAMS.

gdb/ChangeLog
gdb/elfread.c
gdb/objfiles.c

index c092eec368cff86be9c5ba42e977242577e6e938..5aa65ea043861d017f967ebee0e00c9781e78b22 100644 (file)
@@ -1,5 +1,9 @@
 Sat Oct  2 19:28:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
+       4.02 lacks void *.
+       * elfread.c: Use void * not PTR inside PARAMS.
+
        * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
        * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
        * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
index c1bf574900a5c26d7e89f2fba46c8b549ad5cd13..1276deb1557d79e671ea19dea812b871c29d6066 100644 (file)
@@ -77,7 +77,7 @@ static void
 elf_symtab_read PARAMS ((bfd *,  CORE_ADDR, struct objfile *));
 
 static void
-free_elfinfo PARAMS ((PTR));
+free_elfinfo PARAMS ((void *));
 
 static struct section_offsets *
 elf_symfile_offsets PARAMS ((struct objfile *, CORE_ADDR));
@@ -88,7 +88,7 @@ record_minimal_symbol_and_info PARAMS ((char *, CORE_ADDR,
                                        struct objfile *));
 
 static void
-elf_locate_sections PARAMS ((bfd *, asection *, PTR));
+elf_locate_sections PARAMS ((bfd *, asection *, void *));
 
 /* We are called once per section from elf_symfile_read.  We
    need to examine each section we are passed, check to see
index 7b55084d13fdf9af6702f543fc09448cde7f7b6e..b111f005c05db44fa2d7c6c87fa2180ba355c0b7 100644 (file)
@@ -121,7 +121,7 @@ allocate_objfile (abfd, mapped)
 {
   struct objfile *objfile = NULL;
   int fd;
-  void *md;
+  PTR md;
   CORE_ADDR mapto;
 
   mapped |= mapped_symbol_files;
@@ -142,7 +142,7 @@ allocate_objfile (abfd, mapped)
   if (fd >= 0)
     {
       if (((mapto = map_to_address ()) == 0) ||
-         ((md = mmalloc_attach (fd, (void *) mapto)) == NULL))
+         ((md = mmalloc_attach (fd, (PTR) mapto)) == NULL))
        {
          close (fd);
        }
This page took 0.03431 seconds and 4 git commands to generate.