[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gdb on bsd architectures



Hello,

  When building gdb on BSD architectures I encounter this warn/error:

In file included from /usr/include/kvm.h:38:0,
                 from
/build/buildd-gdb_7.3.50~cvs20110627-2-kfreebsd-amd64-cjvC2a/gdb-7.3.50~cvs20110627/gdb/bsd-kvm.c:33:
/usr/include/nlist.h:33:2: error: #warning "Deprecated header, use
<bsd/nlist.h> or libbsd-overlay.pc instead." [-Werror=cpp]
cc1: all warnings being treated as errors

  On linux architectures, I find /usr/include/nlist.h includes
libelf/nlist.h, now I wonder why should we change this header on BSD
systems?
  That would mean changing GNU GDB gdb/bsd-kvm.c:33 upstream to
include <bsd/nlist.h> instead of current <nlist.h>.
   Is that what we want for BSD architectures?

Best regards,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

<free spam>
-- Would you like to make a donation for Debian Conference?
   ** http://debconf11.debconf.org/payments.xhtml **
</free spam>


Reply to: