]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/config/sparc/xm-sun4os4.h
Update FSF address.
[thirdparty/binutils-gdb.git] / gdb / config / sparc / xm-sun4os4.h
CommitLineData
5076de82
FF
1/* Macro definitions for running gdb on a Sun 4 running sunos 4.
2 Copyright (C) 1989, Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
6c9638b4 18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
5076de82
FF
19
20#include "sparc/xm-sparc.h"
21#define FPU
22
5076de82
FF
23/* If you expect to use the mmalloc package to obtain mapped symbol files,
24 for now you have to specify some parameters that determine how gdb places
25 the mappings in it's address space. See the comments in map_to_address()
26 for details. This is expected to only be a short term solution. Yes it
27 is a kludge.
28 FIXME: Make this more automatic. */
29
30#define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */
31#define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */
32
7706616f
JK
33/* /usr/include/malloc.h is included by vx-share/xdr_ld, and might
34 declare these using char * not void *. The following should work with
35 acc, gcc, or /bin/cc. */
36
5076de82 37#define MALLOC_INCOMPATIBLE
7706616f
JK
38#include <malloc.h>
39
5076de82
FF
40/* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */
41
42#define PTRACE_ARG3_TYPE char*
c2e247c4
JK
43
44/* Using termios is required to save and restore ICRNL and ONLCR
45 separately. */
46
47/* At least SunOS 4.1.1 has termios. I'm not sure about 4.0.3. */
48#define HAVE_TERMIOS