diff options
Diffstat (limited to 'gdb/config/vax/xm-vaxult2.h')
-rw-r--r-- | gdb/config/vax/xm-vaxult2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/config/vax/xm-vaxult2.h b/gdb/config/vax/xm-vaxult2.h new file mode 100644 index 00000000000..d0d3d62c7aa --- /dev/null +++ b/gdb/config/vax/xm-vaxult2.h @@ -0,0 +1,11 @@ +/* Definitions to make GDB run on a vax under Ultrix. */ + +#include "vax/xm-vax.h" +extern char *strdup(); + +#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)) |