home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / config / vax / xm-vaxult2.h < prev   
Encoding:
C/C++ Source or Header  |  1993-07-01  |  360 b   |  13 lines

  1. /* Definitions to make GDB run on a vax under Ultrix. */
  2.  
  3. #include "vax/xm-vax.h"
  4. extern char *strdup();
  5.  
  6. #define MEM_FNS_DECLARED
  7. #define NO_PTRACE_H
  8.  
  9. /* Old versions of ultrix have fd_set but not the FD_* macros.  */
  10.  
  11. #define FD_SET(bit,fdsetp) ((fdsetp)->fds_bits[(n) / 32] |= (1 << ((n) % 32)))
  12. #define FD_ZERO(fdsetp) memset (fdsetp, 0, sizeof (*fdsetp))
  13.