diff options
author | Stu Grossman <grossman@cygnus> | 1993-11-17 01:11:30 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-11-17 01:11:30 +0000 |
commit | 343c1a964109a703b6f53d081d61fde6d91eddb5 (patch) | |
tree | 9b1e15a165478d2e6682e700adfec781af353b66 /bfd/hosts/m68klynx.h | |
parent | 794057a7c00257cc222dc8c7995475ca56dba1a1 (diff) | |
download | gdb-343c1a964109a703b6f53d081d61fde6d91eddb5.zip gdb-343c1a964109a703b6f53d081d61fde6d91eddb5.tar.gz gdb-343c1a964109a703b6f53d081d61fde6d91eddb5.tar.bz2 |
* lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc.
* m68klynx.c: Define core file macros.
* hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h: Move all
non-architecture specific stuff into lynx.h.
Diffstat (limited to 'bfd/hosts/m68klynx.h')
-rw-r--r-- | bfd/hosts/m68klynx.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/bfd/hosts/m68klynx.h b/bfd/hosts/m68klynx.h index 394289a..2d370da 100644 --- a/bfd/hosts/m68klynx.h +++ b/bfd/hosts/m68klynx.h @@ -3,33 +3,8 @@ #ifndef hosts_m68klynx_H #define hosts_m68klynx_H -#include <fcntl.h> -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <ctype.h> -#include <string.h> -#include <sys/file.h> +#include "hosts/lynx.h" -#ifndef O_ACCMODE -#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) -#endif - -#define SEEK_SET 0 -#define SEEK_CUR 1 - -#define HOST_PAGE_SIZE NBPG #define HOST_MACHINE_ARCH bfd_arch_m68k -#define HOST_TEXT_START_ADDR USRTEXT - -#define u_comm u_kproc.kp_proc.p_comm - -#include "fopen-same.h" - -/* Lynx has calloc, but no cfree, and gprof uses it. */ - -#define cfree free #endif /* hosts_m68klynx_H */ |