diff options
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. */ |