* PATCH: Fix gdb build failure
@ 2003-04-01 14:18 Daniel Jacobowitz
2003-04-01 14:37 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-04-01 14:18 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: PATCH: Fix gdb build failure
2003-04-01 14:18 PATCH: Fix gdb build failure Daniel Jacobowitz
@ 2003-04-01 14:37 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-04-01 14:37 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches, binutils
> 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.
FYI, a better way of doing this is to introduce a new method and then
mark the current one as obsolete. There's a bfd macro containing a
version date available for this. I'm not talking months here, just
weeks. That gives the two directories a bit of leway so that if one
fails, the other can revert and survive :-)
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-01 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-01 14:18 PATCH: Fix gdb build failure Daniel Jacobowitz
2003-04-01 14:37 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox