This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch/m32r] Fix m32r_load_section() signature


FYI,

I checked in the attatched tweek.

	Andrew
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.

Index: m32r-rom.c
===================================================================
RCS file: /cvs/src/src/gdb/m32r-rom.c,v
retrieving revision 1.3
diff -p -r1.3 m32r-rom.c
*** m32r-rom.c	2000/07/30 01:48:26	1.3
--- m32r-rom.c	2000/12/02 13:36:10
*************** static char *download_path;	/* user-sett
*** 62,69 ****
   */
  
  static void
! m32r_load_section (bfd *abfd, asection *s, unsigned int *data_count)
  {
    if (s->flags & SEC_LOAD)
      {
        bfd_size_type section_size = bfd_section_size (abfd, s);
--- 62,70 ----
   */
  
  static void
! 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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]