mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
7d8752123a
appropriate. * rs6000-core.c: Use HOST_AIX instead of COREFILES_PLEASE. * config/rs6000.mh: Remove defs of ARCHIVES_PLEASE and COREFILES_PLEASE. * config/rs6000lynx.mh: Turn on Lynx core file support. * hosts/rs6000.h: #define HOST_AIX. * hosts/rs6000lynx.h: Create this to enable Lynx host support.
24 lines
511 B
C
24 lines
511 B
C
/* This file is *really* for an RS6000 running AIX... */
|
|
|
|
#include <stddef.h>
|
|
#include <fcntl.h>
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
#include <sys/file.h>
|
|
#include <stdlib.h> /* for malloc() */
|
|
|
|
/* Defining this variable turns on AIX core file and archive support. */
|
|
#define HOST_AIX
|
|
|
|
#ifndef O_ACCMODE
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
#endif
|
|
#define SEEK_SET 0
|
|
#define SEEK_CUR 1
|
|
|
|
#include "fopen-same.h"
|