diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-01-25 18:41:23 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-01-25 18:41:23 +0000 |
commit | efd59e3f325dfcf4a797d830abf78eac3cd4a78d (patch) | |
tree | 602a5cbbba137e555e5e2d31b5f9bcbb86254e85 /gdb/config | |
parent | 388e1ff2e5c127e63d203dad82712f57638267e9 (diff) | |
download | gdb-efd59e3f325dfcf4a797d830abf78eac3cd4a78d.zip gdb-efd59e3f325dfcf4a797d830abf78eac3cd4a78d.tar.gz gdb-efd59e3f325dfcf4a797d830abf78eac3cd4a78d.tar.bz2 |
* config/alpha/tm-fbsd.h: Update copyright.
(USE_STRUCT_CONVENTION): Define in terms of
alphabsd_use_struct_convention.
* config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
* alphafbsd-tdep.c: New file.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/alpha/fbsd.mt | 2 | ||||
-rw-r--r-- | gdb/config/alpha/tm-fbsd.h | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/config/alpha/fbsd.mt b/gdb/config/alpha/fbsd.mt index 6d33977..48e54fa 100644 --- a/gdb/config/alpha/fbsd.mt +++ b/gdb/config/alpha/fbsd.mt @@ -1,3 +1,3 @@ # Target: FreeBSD/Alpha -TDEPFILES= alpha-tdep.o +TDEPFILES= alpha-tdep.o alphafbsd-tdep.o TM_FILE= tm-fbsd.h diff --git a/gdb/config/alpha/tm-fbsd.h b/gdb/config/alpha/tm-fbsd.h index 73086e4..315712c 100644 --- a/gdb/config/alpha/tm-fbsd.h +++ b/gdb/config/alpha/tm-fbsd.h @@ -1,5 +1,5 @@ /* Target-dependent definitions for FreeBSD/Alpha. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -23,6 +23,12 @@ #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) + /* 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. */ |