X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fdicos-tdep.c;h=3ef9114b10579ad907b4f81bb28a24ee0ed260ac;hb=27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee;hp=bacba9636853b30c06eb3330647ed82b1432bc78;hpb=42a4f53d2bf8938c2aeda9f52be7a20534b214a9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c index bacba96368..3ef9114b10 100644 --- a/gdb/dicos-tdep.c +++ b/gdb/dicos-tdep.c @@ -23,6 +23,7 @@ #include "solib-target.h" #include "inferior.h" #include "dicos-tdep.h" +#include "gdbarch.h" void dicos_init_abi (struct gdbarch *gdbarch) @@ -69,7 +70,7 @@ dicos_load_module_p (bfd *abfd, int header_size) if (!section) return 0; - if (bfd_section_size (abfd, section) != header_size) + if (bfd_section_size (section) != header_size) return 0; /* Dicos LMs always have a "Dicos_loadModuleInfo" symbol