* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
[deliverable/binutils-gdb.git] / gdb / config / alpha / tm-fbsd.h
1 /* Target-dependent definitions for FreeBSD/Alpha.
2 Copyright 2000, 2001 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 #ifndef TM_FBSD_H
22 #define TM_FBSD_H
23
24 #include "alpha/tm-alpha.h"
25
26 /* FreeBSD uses the old gcc convention for struct returns. */
27
28 #undef USE_STRUCT_CONVENTION
29 #define USE_STRUCT_CONVENTION(gcc_p, type) \
30 alphafbsd_use_struct_convention (gcc_p, type)
31
32 /* FreeBSD doesn't mark the outermost frame. While some FreeBSD/Alpha
33 releases include (a minimal amount of) debugging info in its
34 startup code (crt1.o), the safest thing is to consider the user
35 code entry point as the outermost frame. */
36 #define FRAME_CHAIN_VALID(chain, thisframe) \
37 func_frame_chain_valid(chain, thisframe)
38
39 /* Number of traps that happen between exec'ing the shell to run an
40 inferior, and when we finally get to the inferior code. The
41 default is right for FreeBSD. */
42
43 #undef START_INFERIOR_TRAPS_EXPECTED
44
45 #endif /* TM_FBSD_H */
This page took 0.032414 seconds and 5 git commands to generate.