X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fdicos-tdep.c;h=3ef9114b10579ad907b4f81bb28a24ee0ed260ac;hb=5abebf3c3fd28a148e43be587c4e4065a0e53ae9;hp=48f11a55d31fd713b72a263aa154577a90b2da59;hpb=d55e5aa6b29906346c51ad00e6a9b112590aa294;p=binutils-gdb.git diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c index 48f11a55d31..3ef9114b105 100644 --- a/gdb/dicos-tdep.c +++ b/gdb/dicos-tdep.c @@ -18,13 +18,12 @@ along with this program. If not, see . */ #include "defs.h" - -/* Local non-gdb includes. */ -#include "dicos-tdep.h" -#include "inferior.h" #include "osabi.h" -#include "solib-target.h" #include "solib.h" +#include "solib-target.h" +#include "inferior.h" +#include "dicos-tdep.h" +#include "gdbarch.h" void dicos_init_abi (struct gdbarch *gdbarch) @@ -71,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