* m32r-rom.c (m32r_load_section): Update to match
authorAndrew Cagney <cagney@redhat.com>
Sat, 2 Dec 2000 13:43:26 +0000 (13:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 2 Dec 2000 13:43:26 +0000 (13:43 +0000)
bfd_map_over_sections's ``func'' arg.

gdb/ChangeLog
gdb/m32r-rom.c

index 7e49688..00b0dcf 100644 (file)
@@ -1,3 +1,8 @@
+Sun Dec  3 00:29:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m32r-rom.c (m32r_load_section): Update to match
+       bfd_map_over_sections's ``func'' arg.
+
 Thu Nov 30 01:24:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and
index d6b1e5c..b283279 100644 (file)
@@ -62,8 +62,9 @@ static char *download_path;   /* user-settable path for SREC files     */
  */
 
 static void
-m32r_load_section (bfd *abfd, asection *s, unsigned int *data_count)
+m32r_load_section (bfd *abfd, asection *s, void *obj)
 {
+  unsigned int *data_count = obj;
   if (s->flags & SEC_LOAD)
     {
       bfd_size_type section_size = bfd_section_size (abfd, s);