mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
12 lines
336 B
C
12 lines
336 B
C
/* 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))
|