darling-gdb/gdb/config/vax/xm-vaxult2.h

13 lines
360 B
C

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