diff options
| author | briggs <briggs@NetBSD.org> | 2003-11-14 15:06:15 +0000 |
|---|---|---|
| committer | briggs <briggs@NetBSD.org> | 2003-11-14 15:06:15 +0000 |
| commit | 5e0fd052daf722b0fa420a8e0d2d6c85e9eca69f (patch) | |
| tree | f134ce3cc0847d49c257fefeca7b2ddcb2bde322 /gnu/dist/gdb | |
| parent | 4b26585bd43c1bc53ad0a3b99888c28df4d6f597 (diff) | |
Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf
target. Patch as seen on tech-toolchain@.
Diffstat (limited to 'gnu/dist/gdb')
| -rw-r--r-- | gnu/dist/gdb/gdb/config/arm/nbsd.mt | 4 | ||||
| -rw-r--r-- | gnu/dist/gdb/gdb/config/arm/tm-nbsd.h | 29 |
2 files changed, 33 insertions, 0 deletions
diff --git a/gnu/dist/gdb/gdb/config/arm/nbsd.mt b/gnu/dist/gdb/gdb/config/arm/nbsd.mt index 94971369506..54daecc65dd 100644 --- a/gnu/dist/gdb/gdb/config/arm/nbsd.mt +++ b/gnu/dist/gdb/gdb/config/arm/nbsd.mt @@ -1,2 +1,6 @@ # Target: ARM running NetBSD TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o nbsd-tdep.o + +GDB_MULTI_ARCH=GDB_MULTI_ARCH_TM + +TM_FILE=tm-nbsd.h diff --git a/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h b/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h new file mode 100644 index 00000000000..0876b74d97f --- /dev/null +++ b/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h @@ -0,0 +1,29 @@ +/* Target-dependent definitions for NetBSD/arm. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, 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_NBSD_H +#define TM_NBSD_H + +#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM + +#include "solib.h" + +#endif /* TM_NBSD_H */ |
