* stabs.texinfo: Document the format for C++ nested types.
[deliverable/binutils-gdb.git] / gdb / xm-sparc.h
CommitLineData
dd3b648e 1/* Parameters for execution on a Sun 4, for GDB, the GNU debugger.
75af490b
JG
2 Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
3 Contributed by Michael Tiemann (tiemann@mcc.com).
7d9884b9 4
dd3b648e
RP
5This file is part of GDB.
6
99a7de40 7This program is free software; you can redistribute it and/or modify
dd3b648e 8it under the terms of the GNU General Public License as published by
99a7de40
JG
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
dd3b648e 11
99a7de40 12This program is distributed in the hope that it will be useful,
dd3b648e
RP
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
99a7de40
JG
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
dd3b648e
RP
20
21#define HOST_BYTE_ORDER BIG_ENDIAN
22
23/* Get rid of any system-imposed stack limit if possible. */
24
25#define SET_STACK_LIMIT_HUGE
26
27/* Enable use of alternate code for Sun's format of core dump file. */
28
29#define NEW_SUN_CORE
30
31/* Do implement the attach and detach commands. */
32
33#define ATTACH_DETACH
34
35/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
36
37#define FETCH_INFERIOR_REGISTERS
38
39/* Before storing, we need to read all the registers. */
40
41#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
42
43/* It does have a wait structure, and it might help things out . . . */
44
45#define HAVE_WAIT_STRUCT
46
47/* Optimization for storing registers to the inferior. The hook
48 DO_DEFERRED_STORES
49 actually executes any deferred stores. It is called any time
50 we are going to proceed the child, or read its registers.
51 The hook CLEAR_DEFERRED_STORES is called when we want to throw
52 away the inferior process, e.g. when it dies or we kill it.
53 FIXME, this does not handle remote debugging cleanly. */
54
55extern int deferred_stores;
dd3b648e
RP
56#define DO_DEFERRED_STORES \
57 if (deferred_stores) \
58 store_inferior_registers (-2);
59#define CLEAR_DEFERRED_STORES \
60 deferred_stores = 0;
This page took 0.076311 seconds and 4 git commands to generate.