This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb5.0 on i586-pc-linux-gnulibc1: no <poll.h>, but <sys/poll.h>


Hello, everyone.

System: i586-cp-linux-gnulibc1 (libc5 5.4.33, linux 2.0.32)
gdb version: gdb-5.0 (final release)

I just found a minor glitch in building gdb5.0: it did (correctly)
determine that this machine I build on does have the poll() function. But
there's no check as to where the appropriate header file might be: it's
hardwired to #include <poll.h> whenever HAVE_POLL is set. On the
admittedly outdated system Linux mentioned, it should #include
<sys/poll.h>. Changing that the brute-force way gave me a working 
gdb...



Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]