mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
13 lines
360 B
C
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))
|