aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/vax/xm-vaxult2.h
blob: f3e2550ba8a28fbb98b49008e9374ac5c4298cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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))