mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
46 lines
1.6 KiB
C
46 lines
1.6 KiB
C
/* Target-dependent definitions for FreeBSD/Alpha.
|
|
Copyright 2000, 2001 Free Software Foundation, Inc.
|
|
|
|
This file is part of GDB.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef TM_FBSD_H
|
|
#define TM_FBSD_H
|
|
|
|
#include "alpha/tm-alpha.h"
|
|
|
|
/* FreeBSD uses the old gcc convention for struct returns. */
|
|
|
|
#undef USE_STRUCT_CONVENTION
|
|
#define USE_STRUCT_CONVENTION(gcc_p, type) \
|
|
alphafbsd_use_struct_convention (gcc_p, type)
|
|
|
|
/* FreeBSD doesn't mark the outermost frame. While some FreeBSD/Alpha
|
|
releases include (a minimal amount of) debugging info in its
|
|
startup code (crt1.o), the safest thing is to consider the user
|
|
code entry point as the outermost frame. */
|
|
#define FRAME_CHAIN_VALID(chain, thisframe) \
|
|
func_frame_chain_valid(chain, thisframe)
|
|
|
|
/* Number of traps that happen between exec'ing the shell to run an
|
|
inferior, and when we finally get to the inferior code. The
|
|
default is right for FreeBSD. */
|
|
|
|
#undef START_INFERIOR_TRAPS_EXPECTED
|
|
|
|
#endif /* TM_FBSD_H */
|