This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Fix gdb build failure
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 1 Apr 2003 09:18:06 -0500
- Subject: PATCH: Fix gdb build failure
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 at mvista dot 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