From a12ee2c5a45ec0ea10cb707a784f323e5ef8e055 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 2 Dec 2000 13:43:26 +0000 Subject: [PATCH] * m32r-rom.c (m32r_load_section): Update to match bfd_map_over_sections's ``func'' arg. --- gdb/ChangeLog | 5 +++++ gdb/m32r-rom.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7e49688fc50..00b0dcf8212 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Sun Dec 3 00:29:31 2000 Andrew Cagney + + * 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 * mips-tdep.c (struct upk_mips16): Delete fields ``inst'' and diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c index d6b1e5cd4bd..b2832792121 100644 --- a/gdb/m32r-rom.c +++ b/gdb/m32r-rom.c @@ -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); -- 2.30.2