summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-04-01 14:17:20 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-04-01 14:17:20 +0000
commit2ae252ac872856e6aacecbda75f185fd55dc8370 (patch)
treea2c071e8b5bbfb23b3286dd218f148b23ec73a75
parent031f3f89def963dd63262a8cc5a3e008ecd7b668 (diff)
downloadgdb-2ae252ac872856e6aacecbda75f185fd55dc8370.tar.gz
* symfile.c (symfile_relocate_debug_section): Update call to
bfd_simple_get_relocated_section_contents.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aaae94439c6..c6d9db5058e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-01 Daniel Jacobowitz <drow@mvista.com>
+
+ * symfile.c (symfile_relocate_debug_section): Update call to
+ bfd_simple_get_relocated_section_contents.
+
2003-03-31 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 8380b276019..7d7886a2921 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -3573,7 +3573,7 @@ symfile_relocate_debug_section (bfd *abfd, asection *sectp, bfd_byte *buf)
all sections begin at 0. */
bfd_map_over_sections (abfd, symfile_dummy_outputs, NULL);
- return bfd_simple_get_relocated_section_contents (abfd, sectp, buf);
+ return bfd_simple_get_relocated_section_contents (abfd, sectp, buf, NULL);
}
void