X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fnto-tdep.c;h=a16cc8df87aa83cea6db466453d97d51a736e764;hb=1ce22eebea40573551c2db2e7c83951154d14c81;hp=48e731acd05267d058bf455c27f98c0975fef70e;hpb=bdb3ed9e634d3db8164d90dee12bc8b5e2458786;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 48e731acd0..a16cc8df87 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -1,6 +1,6 @@ /* nto-tdep.c - general QNX Neutrino target functionality. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. Contributed by QNX Software Systems Ltd. @@ -32,7 +32,7 @@ #include "gdbcore.h" #include "objfiles.h" #include "source.h" -#include "common/pathstuff.h" +#include "gdbsupport/pathstuff.h" #define QNX_NOTE_NAME "QNX" #define QNX_INFO_SECT_NAME "QNX_info" @@ -319,8 +319,8 @@ nto_sniff_abi_note_section (bfd *abfd, asection *sect, void *obj) const char *name; const unsigned sizeof_Elf_Nhdr = 12; - sectname = bfd_get_section_name (abfd, sect); - sectsize = bfd_section_size (abfd, sect); + sectname = bfd_section_name (sect); + sectsize = bfd_section_size (sect); if (sectsize > 128) sectsize = 128;