From 97606a13b0bcb57387f42415c8fb3952de1c4d19 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 1 Apr 2003 14:17:20 +0000 Subject: [PATCH] * symfile.c (symfile_relocate_debug_section): Update call to bfd_simple_get_relocated_section_contents. --- gdb/ChangeLog | 5 +++++ gdb/symfile.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aaae94439c..c6d9db5058 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-04-01 Daniel Jacobowitz + + * symfile.c (symfile_relocate_debug_section): Update call to + bfd_simple_get_relocated_section_contents. + 2003-03-31 Andrew Cagney * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. diff --git a/gdb/symfile.c b/gdb/symfile.c index 8380b27601..7d7886a292 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