PATCH: Fix gdb build failure

Daniel Jacobowitz
2003-04-01T14:18:09Z

I changed the interface of a function in BFD yesterday and forgot to update
the one call to it in GDB. Sorry 'bout that. Fixed with the attached.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer

2003-04-01 Daniel Jacobowitz <drow@mvista.com>

* symfile.c (symfile_relocate_debug_section): Update call to
bfd_simple_get_relocated_section_contents.

Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.92
diff -u -p -r1.92 symfile.c
--- symfile.c 27 Feb 2003 20:48:03 -0000 1.92
+++ symfile.c 1 Apr 2003 14:15:47 -0000
@@ -3573,7 +3573,7 @@ symfile_relocate_debug_section (bfd *abf
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