This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/m32r] Fix m32r_load_section() signature
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch/m32r] Fix m32r_load_section() signature
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sun, 03 Dec 2000 00:31:23 +1100
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);