This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
simple.c and symfile.c are inconsistent (interps-20030202-branch)
- From: Nick Roberts <nick at nick dot uklinux dot net>
- To: gdb at sources dot redhat dot com
- Date: Fri, 4 Apr 2003 23:20:30 +0100
- Subject: simple.c and symfile.c are inconsistent (interps-20030202-branch)
I have previously checked out and successfully compiled gdb+dejagnu on the
branch tagged interps-20030202-branch. I can't compile my latest update as
simple.c (CVS version 1.7) defines bfd_simple_get_relocated_section_contents
with 4 arguments while symfile.c (CVS version 1.85.2.1) calls it with 3.
Nick
gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized symfile.c
symfile.c: In function `symfile_relocate_debug_section':
symfile.c:bfd_simple_get_relocated_section_contents3604: too few arguments to function `bfd_simple_get_relocated_section_contents'