mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00: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))
|